Skip to content

Commit

Permalink
Ignore W504 in flake8
Browse files Browse the repository at this point in the history
PEP 8 recommends to break a long line after a binary operator. That's
used in the current code.

In the past PEP 8 wasn't so specific and W504 appeared in flake8. This
one makes flake8 ignore W504.

For details see PyCQA/pycodestyle#498
  • Loading branch information
pbabinca committed Dec 6, 2018
1 parent 3324d12 commit faa711b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ commands =
# D103: Missing docstring in public function
# D104: Missing docstring in public package
# D401: First line should be in imperative mood; try rephrasing
ignore = D100, D101, D102, D103, D104, D401
# W504: line break before binary operator
ignore = D100, D101, D102, D103, D104, D401, W504
max-line-length = 100
exclude =
.tox,
Expand Down

0 comments on commit faa711b

Please sign in to comment.