diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -21,9 +21,13 @@ sqlalchemy-stubs future commands = - # No where close to passing yet, but nice to have. - - mypy --install-types --non-interactive --junit-xml=junit-{envname}.xml --py2 --ignore-missing-imports lnt - - mypy --install-types --non-interactive --junit-xml=junit-{envname}.xml --ignore-missing-imports lnt + # Nowhere close to passing yet, but nice to have. The option + # --no-incremental is currently needed to suppress warnings about + # UpdatedBase when running tests several times. Future versions of + # mypy should be checked to see if it can be removed and not get + # warnings after running tox several times. + - mypy --no-incremental --junit-xml=junit-{envname}.xml --py2 --ignore-missing-imports lnt + - mypy --no-incremental --junit-xml=junit-{envname}.xml --ignore-missing-imports lnt [testenv:flake8] skip_install = true