Skip to content

Commit dd7b253

Browse files
committed
Move mypy configuration to pyproject.toml
1 parent d4d715d commit dd7b253

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

mypy.ini

Lines changed: 0 additions & 6 deletions
This file was deleted.

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ select = [
3939
# perflint
4040
"PERF",
4141
]
42+
43+
[tool.mypy]
44+
disallow_untyped_defs = true
45+
46+
# It's not practical to add type annotations to tests
47+
[[tool.mypy.overrides]]
48+
module = "tests.*"
49+
disallow_untyped_defs = false

0 commit comments

Comments
 (0)