Skip to content

Commit 9a3c035

Browse files
authored
Tighten up mypy config (#5237)
1 parent 43f73fd commit 9a3c035

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ max-line-length = 120
102102
files = pytorch_lightning, pl_examples, benchmarks, tests
103103
disallow_untyped_defs = True
104104
ignore_missing_imports = True
105+
show_error_codes = True
106+
warn_redundant_casts = True
107+
warn_unused_configs = True
108+
warn_unused_ignores = True
105109

106110
# todo: add proper typing to this module...
107111
[mypy-pytorch_lightning.callbacks.*]

0 commit comments

Comments
 (0)