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

Lint: Remove files that no longer fail to parse or with F811 #110356

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Oct 4, 2023

Following the release of Ruff 0.0.292 with support for Python 3.12's PEP 701 f-strings, these files no longer fail to parse, and we can include them in the check.

Also remove test_unittest/testmock/testpatch.py, it didn't need to be in the list in the first place.

I'll do manual backports to 3.12 and 3.11 as they're slightly different.

@hugovk hugovk merged commit d8c00d2 into python:main Oct 4, 2023
24 checks passed
@hugovk hugovk deleted the ruff-rm-failed-to-parse branch October 4, 2023 13:11
@bedevere-app
Copy link

bedevere-app bot commented Oct 4, 2023

GH-110360 is a backport of this pull request to the 3.12 branch.

@bedevere-app
Copy link

bedevere-app bot commented Oct 4, 2023

GH-110361 is a backport of this pull request to the 3.11 branch.

AlexWaygood pushed a commit that referenced this pull request Oct 4, 2023
AlexWaygood pushed a commit that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants