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

Convert %d if the input is a explicit int conversion #202

Merged
merged 4 commits into from
Feb 2, 2025

Conversation

un-pogaz
Copy link
Contributor

Always convert %d format if the input is already a explicit int conversion

@ikamensh
Copy link
Owner

As with other PR, change makes sense but to be sure and avoid future regression I'd need a unit test. For example in test_edits.py tests are rather easy to write, I think you could add something that demonstrates this fix in action.

@un-pogaz
Copy link
Contributor Author

Okay, added the test.

@ikamensh ikamensh merged commit 3ac9b7d into ikamensh:master Feb 2, 2025
18 checks passed
@un-pogaz un-pogaz deleted the convert-int-call branch February 2, 2025 09:33
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.

2 participants