Skip to content

Commit 2f09500

Browse files
committed
added mypy config to pyproject
1 parent 9e34c3f commit 2f09500

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,12 @@ per-file-ignores = ["__init__.py:F401"]
7979
max-line-length = 88
8080
select = "C,E,F,W,B,B950"
8181
extend-ignore = ['E203', 'E501', 'E129', 'W503']
82+
83+
84+
[tool.mypy]
85+
python_version = "3.8"
86+
ignore_missing_imports = true
87+
strict = true
88+
namespace_packages = true
89+
explicit_package_bases = true
90+
exclude = ["tests", "scripts", "docs", "build", "dist"]

0 commit comments

Comments
 (0)