Skip to content
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

fix: mypy issue on py3.9 + prevent similar issues #29864

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

mistercrunch
Copy link
Member

Someone reported that they had this mypy-related issue on py3.9, so I decided to fix it and to run pre-commit checks against more python versions to prevent this kind of issue from slipping into the repo

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Aug 5, 2024
@dosubot dosubot bot added the python Dependabot - Pull requests that update Python code label Aug 5, 2024
@rusackas
Copy link
Member

rusackas commented Aug 5, 2024

Not sure why the pre-commit job canceled here.

mistercrunch added a commit that referenced this pull request Aug 5, 2024
in order to get #29864 through, I first need to remove the `pre-commit` check, so that PR can be merged, and add new required checks for past, future and current
@@ -17,7 +17,7 @@

import logging
import uuid
from typing import Any
from typing import Any, Union
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python 3.9 doesn't support the pipe operator in type hints...

@michael-s-molina michael-s-molina merged commit c7dc4dc into master Aug 6, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code python Dependabot - Pull requests that update Python code size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants