Closed Avasam closed 1 year ago
I fixed as accurately and as many Unknown types as I could. I also added py.typed for https://peps.python.org/pep-0561/ so that type-checkers like mypy and Pyright will know to use inline types instead of looking for a non-existent type stub.
Unknown
py.typed
For example: Before:
After:
Closes #20 Includes #22 (fixes #21)
@andreaschiavinato
I fixed as accurately and as many
Unknown
types as I could. I also addedpy.typed
for https://peps.python.org/pep-0561/ so that type-checkers like mypy and Pyright will know to use inline types instead of looking for a non-existent type stub.For example: Before:![image](https://user-images.githubusercontent.com/1350584/187339209-7cde64e0-9e3b-4f2d-a00c-e4db6029da73.png)
After:![image](https://user-images.githubusercontent.com/1350584/187339297-a2d6063c-5327-4600-af3e-7816752878b0.png)
Closes #20 Includes #22 (fixes #21)