Adjust lint script for newer linter
This commit is contained in:
parent
be954c1625
commit
46f1d761f6
2
lint
2
lint
|
@ -6,7 +6,7 @@ if ! which flake8 &>/dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
flake8 \
|
flake8 \
|
||||||
--ignore=E501,E241 \
|
--ignore=E501,E241,F522,F523,F541 \
|
||||||
--exclude=debian,api-daemon/migrations/versions,api-daemon/provisioner/examples
|
--exclude=debian,api-daemon/migrations/versions,api-daemon/provisioner/examples
|
||||||
ret=$?
|
ret=$?
|
||||||
if [[ $ret -eq 0 ]]; then
|
if [[ $ret -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue