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

Remove Ruff ignore rule UP034 (pyupgrade) #1553

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

petechd
Copy link
Contributor

@petechd petechd commented Nov 22, 2024

What is the context of this PR?

This PR removes the ignore rule for Ruff's pyupgrade plugin "UP034" error ("Avoid extraneous parentheses"). It's part of the ongoing task of improving the Python code base by gradually fixing all the remaining issues ignored by the linters.

How to review

Check that the rule now applies and the issues in the code were fixed.

Checklist

  • New static content marked up for translation
  • Newly defined schema content included in eq-translations repo

@petechd petechd marked this pull request as ready for review November 22, 2024 11:24
@petechd petechd changed the title Remove Ruff exception UP034 Remove Ruff ignore rule UP034 Nov 22, 2024
@petechd petechd changed the title Remove Ruff ignore rule UP034 Remove Ruff ignore rule UP034 (pyupgrade) Nov 22, 2024
@petechd petechd merged commit b413fcd into main Nov 25, 2024
19 checks passed
@petechd petechd deleted the remove-ruff-exception-UP034 branch November 25, 2024 08:22
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.

3 participants