diff --git a/mypy.ini b/mypy.ini index 4fdcb3a16a..ace0310ac6 100644 --- a/mypy.ini +++ b/mypy.ini @@ -19,6 +19,25 @@ no_implicit_optional = True # might ideally eliminate. follow_imports = silent + +# +# +# IGNORE ERRORS +# +# + +# We suppress all errors in a handful of files, all of them config files. + +[mypy-conf] # For docs/conf.py. +ignore_errors = True + +[mypy-zproject.settings] +ignore_errors = True + +[mypy-zproject.test_settings] +ignore_errors = True + + # # # IGNORE MISSING IMPORTS diff --git a/tools/run-mypy b/tools/run-mypy index 444e00d28a..b60f5f8162 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -16,9 +16,6 @@ sys.path.append(os.path.dirname(TOOLS_DIR)) from lib.test_script import get_provisioning_status exclude = """ -docs/conf.py -zproject/settings.py -zproject/test_settings.py """.split() parser = argparse.ArgumentParser(description="Run mypy on files tracked by git.")