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

chore: migrate to f-string #544

Merged
merged 2 commits into from
Jun 9, 2024
Merged

Conversation

Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented Jun 8, 2024

Use current style to print variables in strings.

credit: tool pyupgrade

fix: use str() instead of f-string

credit: tool pyupgrade
Co-Authored-By: Alexandr Artemyev <[email protected]>
@Rotzbua
Copy link
Contributor Author

Rotzbua commented Jun 9, 2024

@Mogost added pyupgrade to pre-commit to avoid old percent string format. Excluded folder ^migrations/ to avoid problems with the auto generated migration scripts.

Copy link
Member

@Mogost Mogost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Looks good!

@Mogost Mogost merged commit fd54f0a into jazzband:master Jun 9, 2024
7 checks passed
@Rotzbua Rotzbua deleted the chore_migrate_fstring branch June 9, 2024 20:05
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