Tighten up mypy config (#5237)

This commit is contained in:
Alan Du 2020-12-23 02:05:55 -05:00 committed by GitHub
parent 43f73fdfdb
commit 9a3c0355d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,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.*]