sphinx-autodoc-typehints icon indicating copy to clipboard operation
sphinx-autodoc-typehints copied to clipboard

Annotate types of attrs attributes

Open sscherfke opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. autodoc-typehint adds type hints to attributes of normal classes but not to attributes of attrs classes.

Describe the solution you'd like Type hints are shown for attrs classes, too.

Describe alternatives you've considered Manually hacking around the issue.

Additional context Output for normal classes: grafik Output for attrs classes: grafik

sscherfke avatar Sep 01 '21 10:09 sscherfke

A PR for this would be welcome.

gaborbernat avatar Jan 08 '22 11:01 gaborbernat