diff --git a/.mypy.ini b/.mypy.ini new file mode 100644 index 000000000..215e42c94 --- /dev/null +++ b/.mypy.ini @@ -0,0 +1,7 @@ +[mypy] +disallow_incomplete_defs = true +disallow_untyped_calls = true +disallow_untyped_decorators = true +disallow_untyped_defs = true +ignore_missing_imports = true +no_site_packages = true diff --git a/package-parser/pyproject.toml b/package-parser/pyproject.toml index 22f8a8d70..10611e289 100644 --- a/package-parser/pyproject.toml +++ b/package-parser/pyproject.toml @@ -22,15 +22,6 @@ url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_s pytest = "^7.2.0" pytest-cov = "^4.0.0" -[tool.mypy] -python_version = "3.10" -no_site_packages = true -ignore_missing_imports = true -disallow_untyped-calls = true -disallow_untyped-defs = true -disallow_incomplete-defs = true -disallow_untyped-decorators = true - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"