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 an __all__ variable to constants.c #1733
Conversation
This pull request fixes 1 alert when merging 6087114 into 6df1c80 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 7242bb6 into 6df1c80 - view on LGTM.com fixed alerts:
|
What was the result of your testing? Does this help any tool?
I expect that some analyze the python code statically, so that the |
From my testing it seems that pylint can pick up the using 2.0.0.dev8 if you do:
on a file called
you will get:
But with this pull request compiled you won't. LGTM is a mystery to me. |
On LGTM, I don't know how it is checking for the I suspect, as with pylint, the full-proof way to eliminate these alerts is to directly import each constant individually. |
I'll guess I'll try emailing semmle (creators of LGTM) about this just to see what they say, unless anyone has a better idea? |
I have now tried sending an email, will see what response I get. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks
An experiment to see if this will fix the LGTM errors.