flake8: Ignore 'line break before/after binary operator'

- W503 line break before binary operator
- W504 line break after binary operator

There doesn't seem to be a nice way of fixing all of these without
replacing W503 with W504 or vice-versa, or unwrapping them resulting
in excessively long lines. Let's just suppress them.

Change-Id: I7846d0124054f58e1cb480d4459cd9c86b737a50
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254608
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
David Pursehouse 2020-02-12 16:00:07 +09:00
parent 16a5c3ac51
commit 77479863da

View File

@ -1,3 +1,3 @@
[flake8] [flake8]
max-line-length=100 max-line-length=100
ignore=E111,E114,E402 ignore=E111,E114,E402,W503,W504