Skip to content

Commit

Permalink
Merge pull request #41 from pyt-team/frantzen-mypy-untyped-import
Browse files Browse the repository at this point in the history
mypy: Ignore untyped imports
  • Loading branch information
ninamiolane authored May 7, 2024
2 parents ebbd42f + 1848494 commit 0b8b431
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies=[
"numpy",
"karateclub @ git+https://github.com/benedekrozemberczki/karateclub@d35e05526455599688f1c4dd92e397cf92316ae4",
"networkx",
"pyrandwalk",
"scipy < 1.12", # scipy 1.12 removed scipy.errstate, which networkx < 3.0 depends on
"toponetx @ git+https://github.com/pyt-team/TopoNetX.git",
]
Expand Down Expand Up @@ -99,18 +100,8 @@ include = [
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
disable_error_code = ["import-untyped"]
plugins = "numpy.typing.mypy_plugin"

[[tool.mypy.overrides]]
module = [
"karateclub.*",
"networkx.*",
"pyrandwalk.*",
"scipy.*",
"sklearn.*",
"toponetx.*",
]
ignore_missing_imports = true

[tool.pytest.ini_options]
addopts = "--capture=no"

0 comments on commit 0b8b431

Please sign in to comment.