Skip to content

Commit 4e0df3c

Browse files
committed
Update mypy config with recommendations from repo-review
1 parent 293b9b4 commit 4e0df3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ Path = "pathlib"
133133

134134
[tool.mypy]
135135
strict = true
136+
warn_unreachable = true
137+
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
136138
disable_error_code = ["type-arg"]
137139

138140
# Don't type test suite itself but check if usage makes sense with docstub's stubs

0 commit comments

Comments
 (0)