-
Notifications
You must be signed in to change notification settings - Fork 2
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 #25
Comments
@just1602 intéressé? |
We should think about contributing typing stub file for boto3 and dotenv library. |
Good idea! The first goal here was to make sure the store and backend classes cooperate in the right way, in complement to integration tests. Contributing a stub file to django-dotenv could be interesting! |
@just1602 Any feedback on mypy vs pyre? |
I didn't have the time to test yesterday. I'll have to test with |
I meant: I don’t know why your PR uses pyre and not mypy, can you give details? (independently of my inheritance/interface review) |
@merwok because |
That seems like a pretty fundamental Python thing to handle. |
This is the error message:
|
But pyre handle this gracefully. Maybe we should open an issue to see what's going on. |
Validates if I use |
Add type declarations (I think Python 3 native syntax, and drop 2.7 support)
Run mypy from tox
Run mypy in CI
The text was updated successfully, but these errors were encountered: