From ec0dc59b06da1074b70fbb724e090e9f4d8384e5 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Nov 2018 08:39:05 +0100 Subject: [PATCH] mypy: Disable warn_unused_configs Looks like mypy's cache causes config sections to be ignored sometimes. --- mypy.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index e002720d3..578a8c1fc 100644 --- a/mypy.ini +++ b/mypy.ini @@ -4,10 +4,11 @@ python_version = 3.6 # --strict -warn_unused_configs = True warn_redundant_casts = True warn_unused_ignores = True disallow_subclassing_any = True +## https://github.com/python/mypy/issues/5957 +# warn_unused_configs = True # disallow_untyped_calls = True # disallow_untyped_defs = True ## https://github.com/python/mypy/issues/5954