Skip to content

Commit c28aa18

Browse files
felix314159Carsons-Eels
authored andcommitted
chore(tooling): better mypy config (ethereum#1756)
* better mypy config * removed .github from exclusion list
1 parent 61d6357 commit c28aa18

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,19 @@ ignore = ["D205", "D203", "D212", "D415", "C901", "A005", "C420"]
126126

127127
[tool.mypy]
128128
mypy_path = ["src", "$MYPY_CONFIG_FILE_DIR/stubs"]
129+
files = ["src", "tests"]
130+
exclude = [
131+
'^\.cache/',
132+
'^\.git/',
133+
'^\.pytest_cache/',
134+
'^\.ruff_cache/',
135+
'^\.tox/',
136+
'^\.venv/',
137+
'^\.vscode/',
138+
'^fixtures/',
139+
'^logs/',
140+
'^site/',
141+
]
129142
plugins = ["pydantic.mypy"]
130143

131144
[tool.codespell]

0 commit comments

Comments
 (0)