-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add typing support #1284
Comments
See #948 |
At SciPy 2021 @obi1kenobi and @ColCarroll gave a great talk in the maintainers track on We can incrementally ratchet down the strictness. For reference, c.f. arviz-devs/arviz#1528 I think though a great endorsement for it is Colin's comment in the Q&A
Sounds like me. :) |
I'm running this on
|
Awesome! Thanks for checking out I noticed that the top-level If you or anyone else is interested in following development & giving feedback, or even contributing to |
This was something I was going to mention. We did have some extra flags. What's a little annoying atm is typing_copilot was ignoring the |
Yup, it's quite unfortunate and yet somewhat nontrivial to fix. Does the "put your desired mypy global flags in |
I just published a pre-release of Here's what you could do:
Thanks for looking into EDIT: Released |
See #1934 for first. |
Suggestion: add
from __future__ import annotations
to all your files (using isort or reorder_python_imports), make sure you are using mypy 0.800, make sure you have your minimum python version for mypy set to 3.7, and then use things like this in your types!:)
Originally posted by @henryiii in #1272 (comment)
The text was updated successfully, but these errors were encountered: