-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
false positive for 'import-self' #2617
Comments
I think you meant something like "standard relative import semantics |
Thanks for reporting the bug! |
In a module named
For which in pylint 2.6.0 yields import-self I believe that since python now uses absolute imports, it should unambiguously import Edit: This specific case reported as #3665 |
@Pierre-Sassoulas I cannot reproduce this. Might have been fixed! |
Closing as the issue is pointing to code that evolved since and it has a duplicate. |
Steps to reproduce
cd mdanalysis/package && pylint MDAnalysis
Current behavior
Empty function with a pass statement fails the lint. See for example
Corresponding failing travis job
and issue MDAnalysis/mdanalysis#2148
Expected behavior
Code is fine
pylint --version output
https://travis-ci.org/MDAnalysis/mdanalysis/jobs/460318184#L681
This only happens with the newest version. Older versions of pylint do not report an error.
The text was updated successfully, but these errors were encountered: