Skip to content
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

Annotate types of attrs attributes #181

Open
sscherfke opened this issue Sep 1, 2021 · 1 comment
Open

Annotate types of attrs attributes #181

sscherfke opened this issue Sep 1, 2021 · 1 comment

Comments

@sscherfke
Copy link

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 sscherfke changed the title Annotate typs of attrs attributes Annotate types of attrs attributes Sep 22, 2021
@gaborbernat
Copy link
Member

A PR for this would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants