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

STY: autofix RUF031 (incorrectly-parenthesized-tuple-in-subscript) #4998

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

neutrinoceros
Copy link
Member

PR Summary

Follow up to #4844: this new linting rule will allow auto-fixing deviations in the future.
For context, it's not a coincidence if this rule so closely matches what @cphyc did in #4844:
this rule was added to ruff after I requested it in response to his PR :)

@neutrinoceros neutrinoceros added code style Related to linting tools enhancement Making something better labels Sep 21, 2024
@neutrinoceros neutrinoceros marked this pull request as ready for review September 21, 2024 12:26
@neutrinoceros neutrinoceros changed the title STY: autofix RUF031 (incorrectly-parenthesized-tuple-in-subscript) STY: autofix RUF031 (incorrectly-parenthesized-tuple-in-subscript) Sep 21, 2024
@cphyc cphyc merged commit aadfcaa into yt-project:main Sep 24, 2024
12 checks passed
@neutrinoceros neutrinoceros deleted the sty/ruf031 branch September 24, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code style Related to linting tools enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants