Skip to content

Commit 4d77c55

Browse files
fredriktc00kiemon5ter
authored andcommitted
enable mypy config
Run with "poetry run mypy src".
1 parent 13ddd1f commit 4d77c55

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

pyproject.toml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,16 @@ src_paths = [
225225
'test',
226226
]
227227

228-
# XXX TODO
229-
#[tool.mypy]
230-
#pretty = true
231-
#check_untyped_defs = true
232-
#ignore_errors = false
233-
#ignore_missing_imports = true
234-
#show_error_codes = true
235-
#strict_optional = true
236-
#warn_unused_ignores = true
237-
#warn_redundant_casts = true
238-
#warn_unused_configs = true
239-
#warn_unreachable = true
228+
[tool.mypy]
229+
pretty = true
230+
check_untyped_defs = false
231+
ignore_errors = false
232+
ignore_missing_imports = true
233+
show_error_codes = true
234+
strict_optional = true
235+
warn_unused_ignores = true
236+
warn_redundant_casts = true
237+
warn_unused_configs = true
238+
warn_unreachable = true
239+
install_types = true
240+
non_interactive = true

0 commit comments

Comments
 (0)