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

Disable or apply ruff/pyupgrade rules (UP) #12983

Closed
wants to merge 4 commits into from

Conversation

DimitriPapadopoulos
Copy link
Contributor

Disable these rules:

Apply this preview rule:

  • UP031 — involves a single change and results in consistent use of f-strings in the code base

There's no evidence that generators are meaningfully faster
than list comprehensions when combined with unpacking.
UP031 Use format specifiers instead of percent format
Using `X | Y` in `isinstance` is slower and more verbose.
This was referenced Sep 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant