Skip to content

Commit 6f22829

Browse files
alanhduBorda
authored andcommitted
Tighten up mypy config (#5237)
1 parent 373fe1a commit 6f22829

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
@@ -99,6 +99,10 @@ max-line-length = 120
9999
files = pytorch_lightning, pl_examples, benchmarks, tests
100100
disallow_untyped_defs = True
101101
ignore_missing_imports = True
102+
show_error_codes = True
103+
warn_redundant_casts = True
104+
warn_unused_configs = True
105+
warn_unused_ignores = True
102106

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

0 commit comments

Comments
 (0)