-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect NQA102 error #21
Comments
Isn't this duplicated by the (more detailed) #22? |
This is likely a duplicate of #2. This happens when the plugin itself respects If you're using |
I see. I found this issue on vulture's issue tracker where they discussed making vulture a flake8 plugin, but this required support from upstream flake8 which was hostile to the idea. Does this mean that the only way forward for vulture users is #22? |
Yes, if the errors aren't reported through flake8, there's no way for flake8-noqa to know if an error exists on a line or not. I'm going to close this issue and give some thought to #22, at this point I'm thinking a config option to specify codes to ignore NQA102 errors on (I'd rather not add any additional info to the comments). It'll also help as a work around for plugins that do their own |
I have a library file that I am checking with
vulture
. For a function that I define in there, I get the following error from vulture:I can silence this with
noqa VT103
. But then flake8-noqa will complain:The text was updated successfully, but these errors were encountered: