aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/mypy.ini
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-10-19 10:49:05 -0400
committerJohn Snow <jsnow@redhat.com>2021-11-01 11:54:59 -0400
commit8f7960fa3120806e0933795c6f34d8b5b09c622b (patch)
treefc71f781bb304f7e348a7abe8819d1972e7f712f /tests/qemu-iotests/mypy.ini
parent95a556e7c7ddeb8e9e370dd074f48ab77915aa82 (diff)
iotests/297: Split mypy configuration out into mypy.ini
More separation of code and configuration. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-id: 20211019144918.3159078-3-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/mypy.ini')
-rw-r--r--tests/qemu-iotests/mypy.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/qemu-iotests/mypy.ini b/tests/qemu-iotests/mypy.ini
new file mode 100644
index 0000000000..4c0339f558
--- /dev/null
+++ b/tests/qemu-iotests/mypy.ini
@@ -0,0 +1,12 @@
+[mypy]
+disallow_any_generics = True
+disallow_incomplete_defs = True
+disallow_subclassing_any = True
+disallow_untyped_decorators = True
+implicit_reexport = False
+namespace_packages = True
+no_implicit_optional = True
+scripts_are_modules = True
+warn_redundant_casts = True
+warn_unused_configs = True
+warn_unused_ignores = True