Skip to content

Commit 0a48e51

Browse files
committed
disable line break warnings in pycodestyle
This commit disables warnings W503 and W504. One of these was added to the default ignore list because it wasn't clear, and line breaks conflict with another rule which doesn't allow lines greater than 80 chars. I believe that disabling these rules (W503 + W504) is the cleaner solution. See also discussion here: PyCQA/pycodestyle#498
1 parent 3f67c33 commit 0a48e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ script:
1313
- py.test -svv test/unit/
1414

1515
# style guide check
16-
- find ./lib ./test ./bin -name \*.py -exec pycodestyle --show-source --ignore=E501,E402,E722,E129 {} +
16+
- find ./lib ./test ./bin -name \*.py -exec pycodestyle --show-source --ignore=E501,E402,E722,E129,W503,W504 {} +

0 commit comments

Comments
 (0)