snok / flake8-type-checking

Flake8 plugin for managing type-checking imports & forward references.
BSD 3-Clause "New" or "Revised" License
113 stars 16 forks source link

Fully support PEP646 #182

Closed Daverball closed 10 months ago

Daverball commented 10 months ago

Currently we only support the backwards-compatible way to spell unpacking a variadic type var Unpack[Ts], but we don't support the 3.11+ syntax of *Ts.

This should be a fairly straightforward change, we just need to start visiting ast.Starred inside type annotations.