-
Notifications
You must be signed in to change notification settings - Fork 233
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
Match nox sessions python version with GA on typeguard #1102
Closed
staticdev opened this issue
Jan 2, 2022
· 2 comments
· Fixed by cjolowicz/cookiecutter-hypermodern-python-instance#764
Closed
Match nox sessions python version with GA on typeguard #1102
staticdev opened this issue
Jan 2, 2022
· 2 comments
· Fixed by cjolowicz/cookiecutter-hypermodern-python-instance#764
Comments
Typeguard is far from abandoned, there is active work on Typeguard 3.0. Allowing modern type syntax by running the runtime type check only on the latest Python makes sense though, thanks! FTR one alternative would be keeping |
cjolowicz
closed this as completed
in
cjolowicz/cookiecutter-hypermodern-python-instance#764
Jan 3, 2022
I think the hook is:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typeguard with
from __future__ import annontations
does not work well with older versions of Python (throwing lots ofTypeError: unsupported operand type(s) for |: 'type' and 'type'
).Since typeguard on GA is running only on 3.10, I suggest have the same on nox session. Also typeguard seems a bit abandoned for now, while they do not find a new maintainer.
The text was updated successfully, but these errors were encountered: