We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update type hinting in functions using simplified syntax such as PEP 604 (X | Y), list[] instead of List, None instead of Optional, etc.
X | Y
list[]
List
None
Optional
The text was updated successfully, but these errors were encountered:
Any objections, @michalk8?
Sorry, something went wrong.
No objections, but will requiring either dropping 3.8 as far as I know (or at least adding from __future__ import annotations).
from __future__ import annotations
Think they're actually 3.10+. Just use ruff which implements the pyupgrade rule and import from the future
WeilerP
No branches or pull requests
Description
Update type hinting in functions using simplified syntax such as PEP 604 (
X | Y
),list[]
instead ofList
,None
instead ofOptional
, etc.The text was updated successfully, but these errors were encountered: