summary refs log tree commit diff
path: root/scripts-dev/lint.sh
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-05-14 11:46:35 +0100
committerGitHub <noreply@github.com>2021-05-14 11:46:35 +0100
commit6482075c95957ad980d9c1323f9f982e6f7aaff4 (patch)
tree593a4e2e96f27d63be8265d1a20228a2271b1be4 /scripts-dev/lint.sh
parentMinor `@cachedList` enhancements (#9975) (diff)
downloadsynapse-6482075c95957ad980d9c1323f9f982e6f7aaff4.tar.xz
Run `black` on the scripts (#9981)
Turns out these scripts weren't getting linted.
Diffstat (limited to 'scripts-dev/lint.sh')
-rwxr-xr-xscripts-dev/lint.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/scripts-dev/lint.sh b/scripts-dev/lint.sh
index 9761e97594..869eb2372d 100755
--- a/scripts-dev/lint.sh
+++ b/scripts-dev/lint.sh
@@ -80,8 +80,22 @@ else
   # then lint everything!
   if [[ -z ${files+x} ]]; then
     # Lint all source code files and directories
-    # Note: this list aims the mirror the one in tox.ini
-    files=("synapse" "docker" "tests" "scripts-dev" "scripts" "contrib" "synctl" "setup.py" "synmark" "stubs" ".buildkite")
+    # Note: this list aims to mirror the one in tox.ini
+      files=(
+          "synapse" "docker" "tests"
+          # annoyingly, black doesn't find these so we have to list them
+          "scripts/export_signing_key"
+          "scripts/generate_config"
+          "scripts/generate_log_config"
+          "scripts/hash_password"
+          "scripts/register_new_matrix_user"
+          "scripts/synapse_port_db"
+          "scripts-dev"
+          "scripts-dev/build_debian_packages"
+          "scripts-dev/sign_json"
+          "scripts-dev/update_database"
+          "contrib" "synctl" "setup.py" "synmark" "stubs" ".buildkite"
+      )
   fi
 fi