Skip to content

Commit 0a6ef46

Browse files
committed
🔧 mypy config tweaks
1 parent 9799dc6 commit 0a6ef46

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎pyproject.toml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,14 @@ extend-ignore-identifiers-re = ['ND|Nd']
9898

9999
[tool.mypy]
100100
strict = true
101-
disallow_subclassing_any = false
101+
strict_equality_for_none = true
102+
# required by repo-review
102103
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
103-
warn_unreachable = false # required by repo-review
104+
warn_unreachable = false
105+
# experimental
106+
fixed_format_cache = true
107+
local_partial_types = true
108+
allow_redefinition_new = true
104109

105110
[tool.pyright]
106111
exclude = [

0 commit comments

Comments
 (0)