Skip to content

Commit 02dfc84

Browse files
committed
Ignore type checking for networkx
There is a stubs package available, but it's not working: eggplants/networkx-stubs#1 Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b912290 commit 02dfc84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ required_plugins = [ "pytest-asyncio", "pytest-mock" ]
139139
[[tool.mypy.overrides]]
140140
module = [
141141
"grpc.aio",
142-
"grpc.aio.*"
142+
"grpc.aio.*",
143+
# There is a stubs package available, but it's not working:
144+
# https://github.com/eggplants/networkx-stubs/issues/1
145+
"networkx",
143146
]
144147
ignore_missing_imports = true
145148

0 commit comments

Comments
 (0)