diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2020-04-27 17:43:50 -0700 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2020-04-27 17:43:50 -0700 |
commit | 92dba202eda4521067122885061350c86152a2c1 (patch) | |
tree | a8858faa75a12488db221667271c9c0d85bad641 /tox.ini | |
parent | 9b300bc8dfc59584e3046337e7c001fc927d670f (diff) | |
download | zuul-92dba202eda4521067122885061350c86152a2c1.tar.gz |
Bump mypy for py3.8 support
mypy depends on typed-ast which relatively recently added python 3.8
support. Unfortunately the mypy we were using requires an older
typed-ast and fails under python 3.8. Fix this by bumping mypy up to a
level where minimal code changes are necessary.
The code changes we made ignore type conflicts due to redefinition on
conditional imports. Comments include link back to a bug describing this
issue and workaround in mypy.
Change-Id: Iec69a27b16a1e09eb6bfbcf8d68deb1ae68d42a3
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ install_command = pip install {opts} {packages} # type checking on the world - just on ourselves. deps = flake8 - mypy<0.650 + mypy<0.740 openapi-spec-validator commands = flake8 {posargs} |