pydocstyle icon indicating copy to clipboard operation
pydocstyle copied to clipboard

[Feature Request] Support error prefixes in `# noqa` comments

Open plinss opened this issue 5 years ago • 1 comments

flake8 supports error prefixes in # noqa comments, e.g. # noqa: D4 will block all D4xx errors, where pydocstyle requires exact matches, e.g. # noqa: D400, D401, etc..

I don't have a need for this as I primarily use flake8, but mentioning it as I noticed the discrepancy in implementations. Feel free to close as "won't fix".

plinss avatar Jun 09 '20 16:06 plinss

Again, I don't expect pydocstyle to support every nuanced behaviour of Flake8 unless Flake8 breaks these things out into libraries that pydocstyle can reuse. And that's not likely to happen for something like this

sigmavirus24 avatar Jun 09 '20 17:06 sigmavirus24