Tighten up mypy config (#5237)

This commit is contained in:
Alan Du 2020-12-23 02:05:55 -05:00 committed by Jirka Borovec
parent 2ddd36bcd7
commit 1c8ad3a94b
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,10 @@ max-line-length = 120
files = pytorch_lightning, pl_examples, benchmarks, tests
disallow_untyped_defs = True
ignore_missing_imports = True
show_error_codes = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
# todo: add proper typing to this module...
[mypy-pytorch_lightning.callbacks.*]