From 8510961db9196df339767617318a339675e54bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 5 Mar 2015 15:24:52 +0100 Subject: [PATCH] Also ignore PEP8 W503 --- hooks/pre-commit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hooks/pre-commit b/hooks/pre-commit index 312d57c1..37183631 100755 --- 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: "$@"