Skip to content

Commit 14f53e5

Browse files
committed
adjustments to mypy configuration
1 parent c688dd5 commit 14f53e5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mypy.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ namespace_packages = True
1111
no_implicit_reexport = True
1212
# NOTE: this crashes mypy when declared here, therefore it is declared in the setup.cfg files
1313
# plugins = pydantic.mypy
14+
cache_dir = .mypy_cache
15+
error_summary = True
16+
incremental = True
17+
local_partial_types = True
18+
no_implicit_optional = True
19+
pretty = True
1420
python_version = 3.11
1521
show_column_numbers = True
1622
show_error_context = False
1723
strict_optional = True
18-
; no_implicit_optional = True
1924
warn_redundant_casts = True
2025
warn_return_any = True
26+
warn_unreachable = True
2127
warn_unused_configs = True
2228
warn_unused_ignores = True
2329

0 commit comments

Comments
 (0)