From 5ba5fbfe2a74f963d2ca0f1fd261975d19812d59 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 29 Jan 2021 21:03:28 +0100 Subject: [PATCH] mypy: Minor changes to config --- .mypy.ini | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.mypy.ini b/.mypy.ini index 00b470d7b..e3db38ccc 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -1,7 +1,7 @@ [mypy] python_version = 3.6 -# --strict +### --strict warn_unused_configs = True # disallow_any_generics = True disallow_subclassing_any = True @@ -17,11 +17,13 @@ warn_unused_ignores = True # no_implicit_reexport = True strict_equality = True -# Other strictness flags +### Other strictness flags warn_unreachable = True +disallow_any_unimported = True -# Output +### Output show_error_codes = True +show_error_context = True pretty = True [mypy-colorama]