Skip to content

Refactor: Use f-string in 001_rdb.py#6356

Merged
c-bata merged 1 commit intooptuna:masterfrom
sotagg:refactor/f-string
Nov 25, 2025
Merged

Refactor: Use f-string in 001_rdb.py#6356
c-bata merged 1 commit intooptuna:masterfrom
sotagg:refactor/f-string

Conversation

@sotagg
Copy link
Copy Markdown
Contributor

@sotagg sotagg commented Nov 21, 2025

Motivation

Fixes #6305

Description of the changes

Replaces a legacy .format() call with an f-string.

Copy link
Copy Markdown
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

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

LGTM.

@c-bata c-bata added the code-fix Change that does not change the behavior, such as code refactoring. label Nov 25, 2025
@c-bata c-bata added this to the v4.7.0 milestone Nov 25, 2025
@c-bata c-bata merged commit 83cf04e into optuna:master Nov 25, 2025
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.

Use f-string and {var_name=} instead of .format and var_name={var_name}

2 participants