Skip to content

Commit

Permalink
tox: disable W504 "Line break occurred after a binary operator"
Browse files Browse the repository at this point in the history
This is a new coding rule, which actively contradicts the previous
pep8 rule, W503 "line break before binary operator".  Both rules
are currently in force, which doesn't make a lot of sense.

Until the standards people work this out, I'm arbitrarily choosing
to disable the rule that involes the fewest coding changes.
  • Loading branch information
Andrew Bogott committed Mar 5, 2019
1 parent 99bc43b commit 4dcd1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist = flake8, pylint, yamllint, unit, integration, docs

[flake8]
ignore = E221,E241,E501
ignore = E221,E241,E501,W504
max-line-length = 110

[testenv]
Expand Down

0 comments on commit 4dcd1e2

Please sign in to comment.