hynek / svcs

A Flexible Service Locator for Python.
https://svcs.hynek.me
MIT License
294 stars 19 forks source link

Run API type checks on Pyright, warn against Annotated & PEP 695 #92

Closed hynek closed 3 months ago

hynek commented 3 months ago

The support for type is gonna be more complicated it seem, since it returns a TypeAliasType which is different from an type.

Fixes #74

hynek commented 3 months ago

@tdsmith I guess this is the way to go? 🤷‍♂️

tdsmith commented 3 months ago

Thanks!