Skip to content

Commit 59e478d

Browse files
authored
refine pep8speaks (#4877)
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
1 parent 536a390 commit 59e478d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pep8speaks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ scanner:
44

55
pycodestyle: # Valid if scanner.linter is pycodestyle
66
max-line-length: 79
7-
ignore: ["E203", "E701"]
7+
ignore: ["E203", "E701", "W503"]
88
exclude: []
99
count: False
1010
first: False
@@ -17,7 +17,7 @@ pycodestyle: # Valid if scanner.linter is pycodestyle
1717

1818
flake8: # Valid if scanner.linter is flake8
1919
max-line-length: 79
20-
ignore: ["E203", "E501", "E701"]
20+
ignore: ["E203", "E501", "E701", "W503"]
2121
exclude: []
2222
count: False
2323
show-source: False

0 commit comments

Comments
 (0)