Skip to content

Commit 25e07d5

Browse files
authored
chore: explicit mypy ignores (#1087)
I think this will help in adding this project to mypy-primer. Signed-off-by: Henry Schreiner <[email protected]>
1 parent e08cfc8 commit 25e07d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ norecursedirs = ["tests/packages/**"]
170170

171171
[tool.mypy]
172172
files = ["src", "tests", "noxfile.py"]
173+
exclude = [
174+
'^tests/packages/simplest_c/src/simplest/__init__.py',
175+
'^tests/packages/dynamic_metadata/src/dynamic/__init__.py',
176+
'^tests/packages/.*/setup.py',
177+
]
173178
mypy_path = ["$MYPY_CONFIG_FILE_DIR/src", "$MYPY_CONFIG_FILE_DIR/tests/utils"]
174179
python_version = "3.8"
175180
warn_unused_configs = true

0 commit comments

Comments
 (0)