Skip to content

Commit 692c37c

Browse files
authored
Remove networkx stubs in favor of typeshed (#369)
1 parent ee6d039 commit 692c37c

File tree

290 files changed

+12
-7454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+12
-7454
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Stubs for the following libraries now exist in typeshed or the libraries themsel
5353
- jmespath
5454
- markdown
5555
- netaddr
56+
- networkx
5657
- openpyxl
5758
- opencv-python (see <https://github.com/opencv/opencv>; please upgrade opencv-python to 4.8.0+ and file any issues there)
5859
- packaging

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ tests = [
2020
"pandas-stubs",
2121
"pytest",
2222
"scipy-stubs",
23+
"types-networkx",
2324
"typing_extensions",
2425

2526
# The libraries we're stubbing.
2627
# Needed for stubtest and downloads their dependencies to get known import symbols
27-
"networkx",
2828
"scikit-image",
2929
"scikit-learn <1.7.0", # TODO: Update stubs for sklearn
3030
"sympy",
@@ -41,7 +41,6 @@ dev = [{ include-group = "hygiene" }, { include-group = "tests" }]
4141
# see https://github.com/microsoft/python-type-stubs/issues/315
4242
[tool.setuptools.package-dir]
4343
# See README.md as to why matplotlib is not included
44-
"networkx-stubs" = "stubs/networkx"
4544
"skimage-stubs" = "stubs/skimage"
4645
"sklearn-stubs" = "stubs/sklearn"
4746
"sympy-stubs" = "stubs/sympy-stubs"

stubs/networkx/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/networkx/__init__.pyi

Lines changed: 0 additions & 66 deletions
This file was deleted.

stubs/networkx/_typing.pyi

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)