summaryrefslogtreecommitdiff
path: root/mypy.ini
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2021-11-27 09:14:41 +0100
committerMatthias Klose <doko@debian.org>2021-11-27 09:14:41 +0100
commit3c577b5ace7676dc680c162a39de78d5bb6e9b5e (patch)
tree2f66ae2b61daa6fc4be752f3f295ea4e93221c78 /mypy.ini
Import python-packaging_21.3.orig.tar.gz
[dgit import orig python-packaging_21.3.orig.tar.gz]
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini
new file mode 100644
index 0000000..d88ab8f
--- /dev/null
+++ b/mypy.ini
@@ -0,0 +1,17 @@
+[mypy]
+ignore_missing_imports = True
+
+# The following are the flags enabled by --strict
+warn_unused_configs = True
+disallow_subclassing_any = True
+disallow_any_generics = True
+disallow_untyped_calls = True
+disallow_untyped_defs = True
+disallow_incomplete_defs = True
+check_untyped_defs = True
+disallow_untyped_decorators = True
+no_implicit_optional = True
+warn_redundant_casts = True
+warn_unused_ignores = True
+warn_return_any = True
+no_implicit_reexport = True