Closed sobomax closed 1 year ago
W504 is "there is a line break after a binary operator" not "add a backslash after a binary operator" -- also it is off by default so you've opted into it (usually by misusing exclude
when you mean extend-exclude
). also there are no checks implemented here -- please don't ignore the messaging in the issue template and issue form
how did you install flake8?
unmodified output of
flake8 --bug-report
describe the problem
what I expected to happen
Well, it gave me W504 first for not having "\" after arithmetic operator, but after fixing that it failed with E502 for having a redundant backslash between brackets. Which is kind of contradictory and circular.
sample code
commands ran
.flake8 is as follows
some output & references
https://github.com/sobomax/hifi-gan-lsr-rt/actions/runs/6045220562/job/16404944855 https://github.com/sobomax/hifi-gan-lsr-rt/actions/runs/6045212091/job/16404920916