-
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
With pylint 1.5.0, astroid 1.4.1, pylint-django 0.7, 'get' is not recognised #53
Comments
I am seeing many more I've written them up as a pylint issue: pylint-dev/pylint#754, but perhaps the problem is in the pylint-django plugin? |
From the Django Deserialization of Natural Keys example, the following is also problematic:
|
pylint==1.5.4 Just started using pylint-django, updated pylint to be able to do so, it helped with a great many spurious warnings but as noted above, am now getting frequent nomember ones like these:
Which is all to say subscribing, interested in helping. |
…ted workaround A known issue with pylint-django pylint-dev/pylint-django#53 https://github.com/christianmlong/personal/commit/2939cb1d1a08bda225441e0b5326228fb757ee15 Tested on: pylint==1.5.4 pylint-django==0.7.1
As I faced this problem as well I tried to use different versions of pylint/astroid, and ended up using the git master version of both of them (pylint-dev/pylint@9e7bee0 and pylint-dev/astroid@7278409). I then patched pylint-django (https://github.com/iXce/pylint-django) for: I'm totally unsure if this was the best way to do it, but this combination of versions works very well for me at the moment =) Hope it can help someone ! And if these approaches are decent, I can do a pullrequest. |
@carlio Any chance of getting this issue fixed, given that this whole module is essentially broken currently? |
@iXce Please make a pull request. I'm not in a position to merge it (just a user, not committer), but it will help move this along. |
The following test script produces an error when linted and it seems to me that it should not:
E: 3, 0: Instance of 'UserManager' has no 'get' member (no-member)
(This is with Python 3.4.3, Django 1.8.7.)
The text was updated successfully, but these errors were encountered: