-
Notifications
You must be signed in to change notification settings - Fork 117
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
Doesn't work with pylint 1.5.0 / astroid 1.4.0 #51
Comments
Seems this is an upstream bug in pylint, I created an issue here: https://bitbucket.org/logilab/pylint/issues/711/new-node-visit-methods-not-backwards |
Well, not entirely true - pylint methods were renamed but the backwards-compatability logic seems to have a bug. I have updated this plugin to use the new names but will wait a little to see if it's possible to keep using the old ones too, as otherwise the next |
The latest version on the |
|
Thanks, it seems much better, however the following test script produces an error when linted and it seems to me that it should not: """Test case."""
from django.contrib.auth.models import User
User.objects.get(email="hello", password="there")
(This is with Python 3.4.3, Django 1.8.7, django-cms 3.2.0, pylint 1.5.0, astroid 1.4.1, pylint-django 0.7.) |
I also see an error similar to what jribbens describes. pylint --load-plugins=pylint_django -E ./
[... pylint output]
Instance of 'User' has no 'filter' member (no-member) (Python 2.7.6, Django 1.6.11, pylint 1.5.2, astroid 1.4.3, pylint-django 0.7.1) |
If I fix that then:
The text was updated successfully, but these errors were encountered: