| 495 | |
| 496 | # A context for an attribute type hook that infers the type of an attribute. |
| 497 | class AttributeContext(NamedTuple): |
| 498 | type: ProperType # Type of object with attribute |
| 499 | default_attr_type: Type # Original attribute type |
| 500 | is_lvalue: bool # Whether the attribute is the target of an assignment |
| 501 | context: Context # Relevant location context (e.g. for error messages) |
| 502 | api: CheckerPluginInterface |
| 503 | |
| 504 | |
| 505 | # A context for a class hook that modifies the class definition. |
no outgoing calls
no test coverage detected
searching dependent graphs…