Astroid hook for the attrs library
Without this hook pylint reports unsupported-assignment-operation for attrs classes
Function | attr_attributes_transform |
Given that the ClassNode has an attr decorator, rewrite class attributes as instance attributes |
Function | is_decorated_with_attrs |
Return True if a decorated node has an attr decorator applied. |
Constant | ATTRIB_NAMES |
Undocumented |
Constant | ATTRS_NAMES |
Undocumented |
Parameters | |
node:ClassDef | Undocumented |
Undocumented
Value |
|
Undocumented
Value |
|