Skip to content

Commit 64e9977

Browse files
authored
Update mypy config for 2.0 (#689)
1 parent 7321641 commit 64e9977

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,26 +150,25 @@ addopts = [
150150
# The mypy configurations: http://bit.ly/2zEl9WI
151151
ignore_missing_imports = true
152152
strict = true
153-
strict_bytes = true
154-
local_partial_types = true
153+
strict_equality_for_none = true
155154
warn_unreachable = true
156155

157156
exclude = [
158157
'{{cookiecutter.project_name}}',
159158
]
160159

161160
enable_error_code = [
162-
"truthy-bool",
163-
"truthy-iterable",
164-
"redundant-expr",
165-
"unused-awaitable",
161+
"deprecated",
162+
"exhaustive-match",
163+
"explicit-override",
166164
"ignore-without-code",
167165
"possibly-undefined",
166+
"redundant-expr",
168167
"redundant-self",
169-
"explicit-override",
170-
"mutable-override",
168+
"truthy-bool",
169+
"truthy-iterable",
171170
"unimported-reveal",
172-
"deprecated",
171+
"unused-awaitable",
173172
]
174173

175174

0 commit comments

Comments
 (0)