summaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini24
1 files changed, 24 insertions, 0 deletions
diff --git a/.mypy.ini b/.mypy.ini
new file mode 100644
index 0000000..942574e
--- /dev/null
+++ b/.mypy.ini
@@ -0,0 +1,24 @@
+[mypy]
+#, docs/examples, tests
+files = redis
+check_untyped_defs = True
+follow_imports_for_stubs asyncio.= True
+#disallow_any_decorated = True
+disallow_subclassing_any = True
+#disallow_untyped_calls = True
+disallow_untyped_decorators = True
+#disallow_untyped_defs = True
+implicit_reexport = False
+no_implicit_optional = True
+show_error_codes = True
+strict_equality = True
+warn_incomplete_stub = True
+warn_redundant_casts = True
+warn_unreachable = True
+warn_unused_ignores = True
+disallow_any_unimported = True
+#warn_return_any = True
+
+[mypy-redis.asyncio.lock]
+# TODO: Remove once locks has been rewritten
+ignore_errors = True