Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 2410aa1

Browse files
authored
ci: fix mypy config (#1140)
### Summary of Changes * Move `mypy` config to top level * Fix incorrect names of options
1 parent 90926f0 commit 2410aa1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.mypy.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[mypy]
2+
disallow_incomplete_defs = true
3+
disallow_untyped_calls = true
4+
disallow_untyped_decorators = true
5+
disallow_untyped_defs = true
6+
ignore_missing_imports = true
7+
no_site_packages = true

package-parser/pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_s
2222
pytest = "^7.2.0"
2323
pytest-cov = "^4.0.0"
2424

25-
[tool.mypy]
26-
python_version = "3.10"
27-
no_site_packages = true
28-
ignore_missing_imports = true
29-
disallow_untyped-calls = true
30-
disallow_untyped-defs = true
31-
disallow_incomplete-defs = true
32-
disallow_untyped-decorators = true
33-
3425
[build-system]
3526
requires = ["poetry-core>=1.0.0"]
3627
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)