Files
ROCm/.flake8
Justin Lebar f7be5f8fa5 [BUILD] Disable W503 in flake8 config. (#2555)
It seems that by default, flake8 warns on both "linebreak occurred
before
binary operator" (W503) and "linebreak occurred *after* binary operator"
(W504).  You...kind of have to pick one of these.  :)

According to the docs, W503 is deprecated, so we disable that one.
https://www.flake8rules.com/rules/W503.html
2023-10-30 09:28:34 -07:00

6 lines
247 B
INI

[flake8]
# W503 (linebreak occurred before binary operator) seems to be enabled by
# default, even though it goes against pep8 and is incompatible with W504
# (linebreak occurred *after* binary operator). Disable it.
ignore = E501,E701,E731,W503