-
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
Does not recognize additional --builtins #73
Comments
@kthy thanks for the report and for using I'm not sure if we are mixing things here 🤔
This configuration option from flake8 that you point to the documentation, if I read it correctly, I understand it as that if you pass import random
random.choice(my_custom_function())
In your example, as you are doing Let me know if I got it wrong! On the other hand though, we could add support in |
My example does an explicit definition of
That's exactly what I was looking for, yes! 😁 |
I may be misunderstanding #86, but doesn't it do exactly the opposite of what I want here? |
Oh my, totally right 😅 |
As per the docs, it is possible to add builtins to flake8 by passing the
--builtins
flag or through config files.However, these are not recognized by flake8-builtins:
A001 should be reported for both functions.
The text was updated successfully, but these errors were encountered: