]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Allow mypy implicit re-export for tenacity
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Nov 2021 09:53:35 +0000 (10:53 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Nov 2021 01:57:39 +0000 (02:57 +0100)
Tenacity does not explicitly re-export names. Ignoring this fixes a
couple of mypy warning in tests/conftests.py.

pyproject.toml

index 858fcc10f21b33fdfb5ab4fb369f6e58b7e37318..e9c6b31edd842879a1cb19a1dac23658c2e84ea5 100644 (file)
@@ -46,6 +46,10 @@ module = [
 ]
 ignore_missing_imports = true
 
+[[tool.mypy.overrides]]
+module = "tenacity.*"
+implicit_reexport = true
+
 [[tool.mypy.overrides]]
 module = "tests.*"
 check_untyped_defs = true