summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 8 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini

index 812fbff200..e5aef3c062 100644 --- a/tox.ini +++ b/tox.ini
@@ -113,14 +113,15 @@ commands = [testenv:packaging] skip_install=True deps = - check-manifest + check-manifest==0.41 commands = check-manifest [testenv:check_codestyle] skip_install = True deps = - flake8 + flake8==3.7.9 # We temporarily pin flake8's version before the v1.13.0 merge which has + # fixes for flake8 3.8.1 flake8-comprehensions # We pin so that our tests don't start failing on new releases of black. black==19.10b0 @@ -131,14 +132,15 @@ commands = [testenv:check_isort] skip_install = True -deps = isort -commands = /bin/sh -c "isort -c -df -sp setup.cfg -rc synapse tests scripts-dev scripts" +deps = isort==5.0.3 +commands = /bin/sh -c "isort -c --df --sp setup.cfg synapse tests scripts-dev scripts" [testenv:check-newsfragment] skip_install = True deps = towncrier>=18.6.0rc1 commands = - python -m towncrier.check --compare-with=origin/develop + python -m towncrier.check --compare-with=origin/dinsic +basepython = python3.6 [testenv:check-sampleconfig] commands = {toxinidir}/scripts-dev/generate_sample_config --check @@ -184,6 +186,7 @@ commands = mypy \ synapse/handlers/auth.py \ synapse/handlers/cas_handler.py \ synapse/handlers/directory.py \ + synapse/handlers/federation.py \ synapse/handlers/oidc_handler.py \ synapse/handlers/presence.py \ synapse/handlers/room_member.py \