Skip to content

Use f-strings in optuna/testing/storages.py#6439

Merged
not522 merged 1 commit intooptuna:masterfrom
edwiniac:fix/fstring-testing-storages
Feb 13, 2026
Merged

Use f-strings in optuna/testing/storages.py#6439
not522 merged 1 commit intooptuna:masterfrom
edwiniac:fix/fstring-testing-storages

Conversation

@edwiniac
Copy link
Copy Markdown
Contributor

Description

Addresses #6305

Converted 2 .format() calls to f-strings in optuna/testing/storages.py.

Checklist

  • One file only

Copy link
Copy Markdown
Member

@not522 not522 left a comment

Choose a reason for hiding this comment

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

LGTM!

@not522 not522 added the code-fix Change that does not change the behavior, such as code refactoring. label Feb 13, 2026
@not522 not522 added this to the v4.8.0 milestone Feb 13, 2026
@not522 not522 changed the title Use f-strings in optuna/testing/storages.py Use f-strings in optuna/testing/storages.py Feb 13, 2026
@not522 not522 merged commit df9ee42 into optuna:master Feb 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-fix Change that does not change the behavior, such as code refactoring.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants