summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorJonathan de Jong <jonathandejong02@gmail.com>2020-09-17 22:45:22 +0200
committerGitHub <noreply@github.com>2020-09-17 16:45:22 -0400
commitefb6b6629c78409251f61857f2bfe6c2f8f8fb8d (patch)
tree0d3d5385a4601152e35cc31de07d6e8d72b1d735 /tox.ini
parentRemove obsolete __future__ imports (#8337) (diff)
downloadsynapse-efb6b6629c78409251f61857f2bfe6c2f8f8fb8d.tar.xz
Move lint dependencies to extras_require (#8330)
Lint dependencies can now be installed with pip install -e ".[lint]"

This should help keep the version in sync between tox and documentation.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 2 insertions, 8 deletions
diff --git a/tox.ini b/tox.ini
index df473bd234..ddcab0198f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -118,20 +118,14 @@ commands =
     check-manifest
 
 [testenv:check_codestyle]
-skip_install = True
-deps =
-    flake8
-    flake8-comprehensions
-    # We pin so that our tests don't start failing on new releases of black.
-    black==19.10b0
+extras = lint
 commands =
     python -m black --check --diff .
     /bin/sh -c "flake8 synapse tests scripts scripts-dev contrib synctl {env:PEP8SUFFIX:}"
     {toxinidir}/scripts-dev/config-lint.sh
 
 [testenv:check_isort]
-skip_install = True
-deps = isort==5.0.3
+extras = lint
 commands = /bin/sh -c "isort -c --df --sp setup.cfg synapse tests scripts-dev scripts"
 
 [testenv:check-newsfragment]