mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
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
6 lines
247 B
INI
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
|