We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using pydoclint v0.5.9
pydoclint.utils.internal_error.InternalError: astAssign.targets[0] is of type <class 'ast.Attribute'>
The relevant code was adding an attribute to a method of a django ModelAdmin class:
Related to #151
The text was updated successfully, but these errors were encountered:
I should have time to take a look this week.
Sorry, something went wrong.
Could you provide a reproducible example? Because I could not reproduce this issue with this file (something.py) with the following content:
something.py
class MyClass: def large_drawing(self, obj): return self.drawing(obj, size=500, center=False) large_drawing.short_description = 'Drawing'
Thanks!
Never mind, I could reproduce with this code snippet instead:
Successfully merging a pull request may close this issue.
Using pydoclint v0.5.9
pydoclint.utils.internal_error.InternalError: astAssign.targets[0] is of type <class 'ast.Attribute'>
The relevant code was adding an attribute to a method of a django ModelAdmin class:
Related to #151
The text was updated successfully, but these errors were encountered: