Skip to content
Snippets Groups Projects
Unverified Commit 177b2d0c authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Move flake8 to end. Don't exit script on failure (#7738)

parent b099ef07
No related branches found
No related tags found
No related merge requests found
Move `flake8` to the end of `scripts-dev/lint.sh` as it takes the longest and could cause the script to exit early.
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment