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

Enable printf-string-formatting fix with comments on right-hand side #9037

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

charliermarsh
Copy link
Member

Summary

This was added in #6364 (as a follow-on to #6342), but I don't think it applies in the same way, because we don't remove the right-hand side when converting from %-style formatting to .format calls.

Closes #8107.

@charliermarsh charliermarsh added the fixes Related to suggested fixes for violations label Dec 7, 2023
Copy link
Contributor

github-actions bot commented Dec 7, 2023

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh marked this pull request as ready for review December 7, 2023 03:43
@charliermarsh charliermarsh merged commit acab5f3 into main Dec 7, 2023
17 checks passed
@charliermarsh charliermarsh deleted the charlie/up branch December 7, 2023 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UP031 (printf-string-formatting) difference between Ruff and pyupgrade
1 participant