mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
pep8: start obeying E226
We nearly did already anyway.
This commit is contained in:
parent
72288345e3
commit
74197a9a2d
1 changed files with 4 additions and 5 deletions
|
@ -46,17 +46,16 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# In the default configuration, the checks E123, E226 ignored because
|
# We ignore the following PEP8 warnings
|
||||||
# they are not rules unanimously accepted
|
# * E123: closing bracket does not match indentation of opening bracket's line
|
||||||
# On top of those, we ignore:
|
# - Broken if multiple indentation levels start on a single line
|
||||||
# * E501: line too long (82 > 79 characters)
|
# * E501: line too long (82 > 79 characters)
|
||||||
# - Recommended for readability but not enforced
|
# - Recommended for readability but not enforced
|
||||||
# - Some lines are awkward to wrap around a char limit
|
# - Some lines are awkward to wrap around a char limit
|
||||||
# * W503: line break before binary operator
|
# * W503: line break before binary operator
|
||||||
# - It's quite new
|
|
||||||
# - Quite pedantic
|
# - Quite pedantic
|
||||||
|
|
||||||
PEP8_IGNORE="E123,E226,E501,W503"
|
PEP8_IGNORE="E123,E501,W503"
|
||||||
|
|
||||||
err() {
|
err() {
|
||||||
echo ERROR: "$@"
|
echo ERROR: "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue