Skip to content

Upgrade to Python 3.10 using pyupgrade#144

Merged
mx-moth merged 1 commit into
mainfrom
task/py3.10-type-hints
Jul 8, 2024
Merged

Upgrade to Python 3.10 using pyupgrade#144
mx-moth merged 1 commit into
mainfrom
task/py3.10-type-hints

Conversation

@mx-moth

@mx-moth mx-moth commented Jul 8, 2024

Copy link
Copy Markdown
Contributor

The primary change is updating type hints to use PEP 604 features: X | Y over Union[X, Y] and X | None over Optional[X].

Ref #109

The primary change is updating type hints to use PEP 604 features:
`X | Y` over `Union[X, Y]` and `X | None` over `Optional[X]`.
@mx-moth mx-moth self-assigned this Jul 8, 2024
@mx-moth mx-moth merged commit 9965a8b into main Jul 8, 2024
@mx-moth mx-moth deleted the task/py3.10-type-hints branch July 8, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant