-
Notifications
You must be signed in to change notification settings - Fork 16
Add experimental gradual typing for development #198
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
base: main
Are you sure you want to change the base?
Conversation
Also I think we should leave this branch open, it's easy for me to come in and gradually type a few things and push. |
This is so great, ty! |
No worries! Whenever you want to merge feel free, I'm just going to keep pushing stuff |
Do you want to merge these periodically? i don't think i'll be able to get all of this in one shot |
@tylerriccio33 Could you update this branch with the current |
I missed a merge marker resulting in a huge diff.
Ok this should all be good. Missed a merge marker in test_validate.py so had to do some gymnastics to get back in sync. |
This PR adds a little support and considerations for local/dev type checking. I add ty (astral's new experimental type checker) to the makefile, add pointblank/py.typed to the ignore file and updated the documentation to say you can type check but it's not enforced. I think as time goes on, I'll start gradually typing things, and maybe one day it can get into the CI checks. For now, this is just helpful for development, especially if you're so used to relying on a type checker (i am).
Also, random but I found pytest-xdist was repeated in the dependencies so i removed it.