You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed title from A method's noqa comment{-s-} is not detected correctly when using a multiline decorator to A method's noqa comment is not detected correctly when using a multiline decorator
In GitLab by @qxv0 on Jul 17, 2018, 07:32
Flake8 is installed using:
flake8 --bug-report
:Consider the following sample code:
run flake8 on it:
I expect flake8 to ignore this error per the noqa comment.
Note that the same example will work fine if the decorator is single-line:
(no error)
I've also noticed that if the decorator is multiline one can move the noqa comment up in order for it to become effective:
(no error)
or in the case of the first sample code:
(no error)
The text was updated successfully, but these errors were encountered: