Skip to content

Commit

Permalink
disable line break warnings in pycodestyle
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nmarley committed Aug 2, 2018
1 parent 3f67c33 commit 0a48e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ script:
- py.test -svv test/unit/

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

0 comments on commit 0a48e51

Please sign in to comment.