1
0

Use common linting workflow

Black, isort, flake8 don't need arguments now
This commit is contained in:
David Robertson
2022-03-03 18:31:24 +00:00
parent e3ee4a0a45
commit 8213321408
5 changed files with 10 additions and 72 deletions

View File

@@ -80,13 +80,7 @@ else
# then lint everything!
if [[ -z ${files+x} ]]; then
# Lint all source code files and directories
# 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-dev"
"contrib" "setup.py" "synmark" "stubs" ".ci"
)
files=( "." )
fi
fi