Skip to content

Commit c9f8b72

Browse files
committed
Ignore W503 from flake8
This is a warning about line breaks before binary operators. It no longer agrees with PEP8. See, for example, here: psf/black#21. Guido agrees here: python/peps@c59c437.
1 parent ce3a97a commit c9f8b72

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.flake8

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ select = C,E,F,W,B,B950
1515
# Ignore flake8's default warning about maximum line length, which has
1616
# a hard stop at the configured value. Instead we use
1717
# flake8-bugbear's B950, which allows up to 10% overage.
18-
ignore = E501
18+
#
19+
# Also ignore flake8's warning about line breaks before binary
20+
# operators. It no longer agrees with PEP8. See, for example, here:
21+
# https://github.com/ambv/black/issues/21. Guido agrees here:
22+
# https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b.
23+
ignore = E501,W503

0 commit comments

Comments
 (0)