summary refs log tree commit diff
path: root/contrib/scripts
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 /contrib/scripts
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 'contrib/scripts')
-rwxr-xr-xcontrib/scripts/kick_users.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/scripts/kick_users.py b/contrib/scripts/kick_users.py
index f57e6e7d25..372dbd9e4f 100755
--- a/contrib/scripts/kick_users.py
+++ b/contrib/scripts/kick_users.py
@@ -1,10 +1,12 @@
 #!/usr/bin/env python
 from __future__ import print_function
-from argparse import ArgumentParser
+
 import json
-import requests
 import sys
 import urllib
+from argparse import ArgumentParser
+
+import requests
 
 try:
     raw_input