Skip to content

Support for annotations (PEP 484 type hints) #97

@carljm

Description

@carljm

Hi Hynek!

I'd like the generated __init__ signature to include type annotations in Python 3.

Somebody mentioned this in passing over in #63, but after reading through that ticket and glancing at the PR, I'm still not sure how that feature would let me actually get type annotations into the generated __init__ signature. It seems like this requires dedicated support in attrs, probably as a separate kwarg to attr.ib.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions