Skip to content

Commit

Permalink
refine pep8speaks (#4877)
Browse files Browse the repository at this point in the history
Allow line break with leading operator (Knuth's style)
See https://peps.python.org/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
  • Loading branch information
RMeli authored Jan 6, 2025
1 parent 536a390 commit 59e478d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ scanner:

pycodestyle: # Valid if scanner.linter is pycodestyle
max-line-length: 79
ignore: ["E203", "E701"]
ignore: ["E203", "E701", "W503"]
exclude: []
count: False
first: False
Expand All @@ -17,7 +17,7 @@ pycodestyle: # Valid if scanner.linter is pycodestyle

flake8: # Valid if scanner.linter is flake8
max-line-length: 79
ignore: ["E203", "E501", "E701"]
ignore: ["E203", "E501", "E701", "W503"]
exclude: []
count: False
show-source: False
Expand Down

0 comments on commit 59e478d

Please sign in to comment.