-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Decorator attrib
unsupperoted where attr.ib
is
#628
Labels
Comments
It seems that recognizing |
@gavento That's true. Would you like to submit a patch? |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While pylint supports
attr
classes withattr.ib
attributes, it does not support the same withattr.attrib
, which is an alias preferred by some.Steps to reproduce
pylint attrib_test.py
with:Current behavior
Class
OK
reports no errors whileErr
reports:Note the problem is not in how classes
D1
,D2
were declared (attr.ib
orattrib
).Expected behavior
class
Err
should also return no errors.python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output2.1.0
The text was updated successfully, but these errors were encountered: