-
Notifications
You must be signed in to change notification settings - Fork 1
Py3 + MyPy #4
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: master
Are you sure you want to change the base?
Py3 + MyPy #4
Conversation
|
Maybe It wold be good to use |
Unfortunately this PR includes python3 changes as well as the mypy changes, I think up to
a58386c
The version upgrade was necessitated for convenient mypy type annotations
A couple things:
x: int = 3pydanticor something similar (add py.typed marker file for PEP-561 support pydantic/pydantic#391) because we can hide the constructor behind assertions that enforce other guarantees about the type (like extant_file)