chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be0d35
)
Also ignore PEP8 W503
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:24:52 +0000
(15:24 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:24:52 +0000
(15:24 +0100)
hooks/pre-commit
patch
|
blob
|
history
diff --git
a/hooks/pre-commit
b/hooks/pre-commit
index 312d57c1f4bda0c8158dca9967ed18de75d481b2..371836311c605c77be6fefc7c01146295d18715b 100755
(executable)
--- a/
hooks/pre-commit
+++ b/
hooks/pre-commit
@@
-17,8
+17,11
@@
RB_FILES="buildserver/cookbooks/*/recipes/*.rb"
# * E501: line too long (82 > 79 characters)
# - Recommended for readability but not enforced
# - Some lines are awkward to wrap around a char limit
+# * W503: line break before binary operator
+# - It's quite new
+# - Quite pedantic
-PEP8_IGNORE="E123,E133,E226,E241,E242,E501"
+PEP8_IGNORE="E123,E133,E226,E241,E242,E501
,W503
"
err() {
echo ERROR: "$@"