From: Denis Laxalde Date: Tue, 2 Nov 2021 09:53:35 +0000 (+0100) Subject: Allow mypy implicit re-export for tenacity X-Git-Tag: 3.0.3~3^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04298040111eaf641520d84346a17e32ded1bc3d;p=thirdparty%2Fpsycopg.git Allow mypy implicit re-export for tenacity Tenacity does not explicitly re-export names. Ignoring this fixes a couple of mypy warning in tests/conftests.py. --- diff --git a/pyproject.toml b/pyproject.toml index 858fcc10f..e9c6b31ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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