diff --git a/setup.cfg b/setup.cfg index 5ba97651ae..cd56552acd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,3 +58,6 @@ zuul_base = psycopg2-binary yappi objgraph + +[mypy] +allow_redefinition = True diff --git a/tox.ini b/tox.ini index 97aa3e64d3..7a1802d337 100644 --- a/tox.ini +++ b/tox.ini @@ -55,7 +55,7 @@ install_command = pip install {opts} {packages} # type checking on the world - just on ourselves. deps = flake8 - mypy<0.740 + mypy<0.790 openapi-spec-validator commands = flake8 {posargs}