From ecf4de6db67ce19d90a0b55ad8c1544087398a4c Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Fri, 2 Jul 2021 00:08:54 +0200 Subject: refactored code to be style compliant and mostly statically typed with mypy --- checker/.mypy.ini | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 checker/.mypy.ini (limited to 'checker/.mypy.ini') diff --git a/checker/.mypy.ini b/checker/.mypy.ini new file mode 100644 index 0000000..213594c --- /dev/null +++ b/checker/.mypy.ini @@ -0,0 +1,26 @@ +[mypy] +warn_redundant_casts = True +warn_unused_ignores = True +warn_no_return = True +warn_unreachable = True + +# Untyped Definitions and Calls +disallow_untyped_calls = True +disallow_untyped_defs = True +disallow_incomplete_defs = True +check_untyped_defs = True +disallow_untyped_decorators = True + +[mypy-tests.*] +disallow_untyped_calls = False +disallow_untyped_defs = False +disallow_incomplete_defs = False +disallow_untyped_decorators = False + +[mypy-enochecker3] +ignore_missing_imports = True + +[mypy-faker] +ignore_missing_imports = True + + -- cgit v1.2.3-71-gd317