Clean up linter after Black add (pass two)

This commit is contained in:
Joshua Boniface 2021-11-06 02:51:14 -04:00
parent a50c8e6a4d
commit 6b88fbd1e3
1 changed files with 3 additions and 2 deletions

5
lint
View File

@ -6,10 +6,11 @@ fi
# We ignore the following errors: # We ignore the following errors:
# * W503 (line break before binary operator): Black moves these to new lines # * W503 (line break before binary operator): Black moves these to new lines
# * E501 (line too long): Long lines are a fact of life # * E501 (line too long): Long lines are a fact of life in comment blocks; Black handles active instances of this
flake8 \ flake8 \
--ignore=W503,E501 \ --ignore=W503,E501 \
--exclude=debian,api-daemon/migrations/versions,api-daemon/provisioner/examples --exclude=debian,api-daemon/migrations/versions,api-daemon/provisioner/examples \
--max-line-length=88
ret=$? ret=$?
if [[ $ret -eq 0 ]]; then if [[ $ret -eq 0 ]]; then
echo "No linting issues found!" echo "No linting issues found!"