Skip to content

Commit 800308e

Browse files
committed
chore: enable mypy possibly-undefined check
Checks for unbound variable use.
1 parent 9cd41b2 commit 800308e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ extra_standard_library = ["typing_extensions"]
5757

5858
[tool.mypy]
5959
strict = true
60+
enable_error_code = [
61+
'possibly-undefined'
62+
]
6063
mypy_path = "./stubs"
6164

6265
[[tool.mypy.overrides]]

0 commit comments

Comments
 (0)