From cccf517bac3432bd09201ff922ba59424578696f Mon Sep 17 00:00:00 2001 From: Alan Du Date: Tue, 22 Dec 2020 17:27:43 -0500 Subject: [PATCH] Tighten up mypy config --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index b0c2c8640bfba..27f5df8ac6961 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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.*]