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

[pre-commit.ci] pre-commit autoupdate #16218

Closed
wants to merge 2 commits into from

Conversation

updates:
- [github.com/psf/black-pre-commit-mirror: 23.7.0 → 23.9.1](psf/black-pre-commit-mirror@23.7.0...23.9.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.281...v0.0.292)
Comment on lines -11 to -14
if sys.version_info < (3, 8, 0):
sys.stderr.write("ERROR: You need Python 3.8 or later to use mypy.\n")
exit(1)

Copy link
Member

Choose a reason for hiding this comment

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

This is an autofix for ruff's UP036 rule. In general, I think it's a useful rule, but here specifically I think it's better to # noqa it rather than deleting this block.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@AlexWaygood
Copy link
Member

I opened #16221 to fix the issues here.

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