Skip to content

Commit

Permalink
Ignore flake8 rule W503 (#2069)
Browse files Browse the repository at this point in the history
By default, flake8 currently complains both when breaking before (W503)
and after (W504) a binary operator. A choice needs to be made!

Best practice evolved, around 2016, from breaking after to breaking before
a binary operator. Therefore ignore W503.
  • Loading branch information
DimitriPapadopoulos committed Oct 17, 2022
1 parent 4c5a58f commit d7988f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ addopts = --cov=codespell_lib -rs --cov-report= --tb=short

[flake8]
exclude = build, ci-helpers
ignore =
ignore = W503

0 comments on commit d7988f2

Please sign in to comment.