Skip to content

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

Merged
charliermarsh merged 1 commit intomainfrom
charlie/up
Dec 7, 2023
Merged

Enable printf-string-formatting fix with comments on right-hand side#9037
charliermarsh merged 1 commit intomainfrom
charlie/up

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
@github-actions
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
@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