Skip to content

Commit 8dd673a

Browse files
committed
mypy: add slightly more strict config
1 parent a29ad3e commit 8dd673a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,15 @@ types = [
6666
"types-psutil==7.0.0.20250218",
6767
"types-python-xlib==0.33.0.20240407"
6868
]
69+
70+
[tool.mypy]
71+
# catch typos in configuration file
72+
warn_unused_configs = true
73+
disallow_any_unimported = true
74+
#check_untyped_defs = true
75+
warn_unused_ignores = true
76+
warn_unreachable = true
77+
enable_error_code = [
78+
"ignore-without-code",
79+
"possibly-undefined"
80+
]

0 commit comments

Comments
 (0)