missing-typed-attributes¶
Part of: Enrichment Check
| Check | enrichment |
| Category | recommended |
| Applies to | classes |
| Since | v1.0.0 |
Attributes: entries lack
name (type): descriptionformat
What it detects¶
This rule flags Attributes: section entries that lack the typed format name (type): description. It checks that each attribute entry includes a parenthesized type annotation.
Why is this a problem?¶
mkdocstrings relies on the name (type): description format to render attribute types in API documentation. Without the type in parentheses, the generated docs lose type information, forcing users to look elsewhere to understand the data types of each attribute.