-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add option to ignore certain builtins #74
Comments
Hi @nyuszika7h thanks for using Might it be fixed if eventually #73 is implemented? 🤔 reopen if you think otherwise. |
No, that's the opposite of what I want. That issue suggests adding an option to recognize more identifiers as builtins, but I want it to ignore one that's technically a builtin but basically never used. (Yes, I could see how it could lead to issues if I forget to define the variable and accidentally use the builtin instead and flake8 doesn't yell at me that it's undefined, but mypy should take care of that.) |
Oh right, sorry, I probably did not read your message properly 🙋🏾 sorry! 🙇🏾 |
I noticed |
Upon further investigation, I realized that Nobody should be using those in scripts anyway (though some people may misuse |
@nyuszika7h sorry to bother again, I see that what you were asking is to have I'm afraid that saying yes to ignore |
Having it be configurable is enough for me, I was only suggesting a potential default ignore for all site modules because |
flake8-builtins complains about variables named
license
, which honestly I don't understand why it even exists outside of the REPL. I don't want to rename them tolic
,licence
,licence_
or similar, so it would be nice to not have to sprinkle my code with# noqa
everywhere.The text was updated successfully, but these errors were encountered: