summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-07-20 16:43:49 -0400
committerGitHub <noreply@github.com>2020-07-20 21:43:49 +0100
commitb7ddece2a6d541367a10d00d1e7851e29fce2612 (patch)
tree25bc994728d99e19e1bd68e430c1e7907f276773 /tox.ini
parentRemove unused code from synapse.logging.utils. (#7897) (diff)
downloadsynapse-b7ddece2a6d541367a10d00d1e7851e29fce2612.tar.xz
Lint the contrib/ directory in CI and linting scripts, add synctl to linting script (#7914)
Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too.

Fixes https://github.com/matrix-org/synapse/issues/7910
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1c042cb227..834d68aea5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -126,7 +126,7 @@ deps =
     black==19.10b0
 commands =
     python -m black --check --diff .
-    /bin/sh -c "flake8 synapse tests scripts scripts-dev synctl {env:PEP8SUFFIX:}"
+    /bin/sh -c "flake8 synapse tests scripts scripts-dev contrib synctl {env:PEP8SUFFIX:}"
     {toxinidir}/scripts-dev/config-lint.sh
 
 [testenv:check_isort]