We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a803c6a commit c83f992Copy full SHA for c83f992
1 file changed
pyproject.toml
@@ -116,6 +116,12 @@ warn_return_any = true
116
warn_unused_configs = true
117
ignore_missing_imports = true
118
119
+# numpy 2.x stubs use `type` statement (Python 3.12+ syntax); ignore stub
120
+# errors from third-party packages so mypy only checks our own code.
121
+[[tool.mypy.overrides]]
122
+module = ["numpy", "numpy.*"]
123
+ignore_errors = true
124
+
125
[tool.ruff]
126
line-length = 120
127
target-version = "py39"
0 commit comments