plinss / flake8-noqa

flake8 plugin to validate #noqa comments - Mirror of https://gitlab.linss.com/open-source/flake8/flake8-noqa
GNU Lesser General Public License v3.0
40 stars 6 forks source link

[Feature] Detect # noqa comments inside multiline strings #27

Open plinss opened 1 year ago

plinss commented 1 year ago

Flake8 apparently respects # noqa comments inside multiline strings. Those aren't really comments. Flake8-noqa should detect and report those (and recommend the # noqa gets moved to the end of the string).

See: https://github.com/plinss/flake8-noqa/issues/26