From 6ab497ad3d199d284b3f7253e4cb3e8097fb4b82 Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Fri, 4 Dec 2020 16:39:06 +0100 Subject: [PATCH] Bump mypy to 0.790 The currently used version 0.740 throws syntax errors when used with python 3.9. Change-Id: If5cd0da2d5a77126e9ac4c4d6db7a6552f1bd067 --- setup.cfg | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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}