diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini index 1bce10a4ce..e3a53f340a 100644 --- a/tox.ini +++ b/tox.ini @@ -114,10 +114,11 @@ skip_install = True basepython = python3.6 deps = flake8 - black + black==19.3b0 # We pin so that our tests don't start failing on new releases of black. commands = python -m black --check --diff . /bin/sh -c "flake8 synapse tests scripts scripts-dev scripts/hash_password scripts/register_new_matrix_user scripts/synapse_port_db synctl {env:PEP8SUFFIX:}" + {toxinidir}/scripts-dev/config-lint.sh [testenv:check_isort] skip_install = True @@ -161,12 +162,11 @@ basepython = python3.7 skip_install = True deps = {[base]deps} - mypy + mypy==0.730 mypy-zope - typeshed env = MYPYPATH = stubs/ extras = all -commands = mypy --show-traceback \ +commands = mypy --show-traceback --check-untyped-defs --show-error-codes --follow-imports=normal \ synapse/logging/ \ synapse/config/ |