-
Notifications
You must be signed in to change notification settings - Fork 180
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
Unreported undefined name in __all__ #280
Comments
What behavior do you expect? |
He is saying there should be similar messages for sin and cos as the csc message. |
@bitglue I was expecting that if pyflakes do want to report about that 2 kind of error, do it at the same time, not when the other issue was already gone (issue hidden at first sight) |
It's "hidden" because pyflakes can't know what |
This allows pyflakes to report undefined names in __all__ when import * is used, without having to use pyflakes 2 times to detect the errors. Fixes PyCQA#280
This allows pyflakes to report undefined names in __all__ when import * is used, without having to use pyflakes 2 times to detect the errors. Fixes PyCQA#280
This allows pyflakes to report undefined names in __all__ when import * is used, without having to use pyflakes 2 times to detect the errors. Fixes PyCQA#280
Pyflakes was unable to detect undefined name in
__all__
when there exist undefined name outside of it. This make me need to use pyflakes 2 times to really detect all the errors.For example, given this code...
Pyflakes will report
According to that, the code just have 2 "error", which is usage of
*
import andcsc
is undefined.If I then fix the code
Then additional error shown up
Which then could finally fixed by
The text was updated successfully, but these errors were encountered: