summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-06-25 17:58:55 +0100
committerGitHub <noreply@github.com>2020-06-25 17:58:55 +0100
commit177b2d0c19e4127229488ad43d57aba459c719ed (patch)
treec33a38cf0d63541923e14c1de5c52054bc551b31 /scripts-dev
parentMake tox actions work on Debian 10 (#7703) (diff)
downloadsynapse-177b2d0c19e4127229488ad43d57aba459c719ed.tar.xz
Move flake8 to end. Don't exit script on failure (#7738)
Diffstat (limited to '')
-rwxr-xr-xscripts-dev/lint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts-dev/lint.sh b/scripts-dev/lint.sh
index 34c4854e11..6f1ba22931 100755
--- a/scripts-dev/lint.sh
+++ b/scripts-dev/lint.sh
@@ -2,8 +2,8 @@
 #
 # Runs linting scripts over the local Synapse checkout
 # isort - sorts import statements
-# flake8 - lints and finds mistakes
 # black - opinionated code formatter
+# flake8 - lints and finds mistakes
 
 set -e
 
@@ -16,6 +16,6 @@ fi
 
 echo "Linting these locations: $files"
 isort -y -rc $files
-flake8 $files
 python3 -m black $files
 ./scripts-dev/config-lint.sh
+flake8 $files