Skip to content

Commit

Permalink
Tighten up mypy config (Lightning-AI#5237)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhdu authored Dec 23, 2020
1 parent 43f73fd commit 9a3c035
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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.*]
Expand Down

0 comments on commit 9a3c035

Please sign in to comment.