Skip to content

Improve Code Readability by Following PEP8 Standards#6006

Merged
nzw0301 merged 1 commit intooptuna:masterfrom
sawa3030:follow-pep8
Mar 11, 2025
Merged

Improve Code Readability by Following PEP8 Standards#6006
nzw0301 merged 1 commit intooptuna:masterfrom
sawa3030:follow-pep8

Conversation

@sawa3030
Copy link
Copy Markdown
Collaborator

Motivation

  • Ensure the code adheres to PEP8 guidelines for better readability and maintainability.

Description of the changes

  • Replaced if consider_prior is False: with if not consider_prior: to follow Pythonic best practices and improve readability.

Copy link
Copy Markdown
Contributor

@nabenabe0928 nabenabe0928 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 for the followup, LGTM!

@nzw0301 nzw0301 added the code-fix Change that does not change the behavior, such as code refactoring. label Mar 11, 2025
@nzw0301 nzw0301 merged commit 6538315 into optuna:master Mar 11, 2025
14 of 15 checks passed
@nabenabe0928 nabenabe0928 added this to the v4.3.0 milestone Mar 24, 2025
@sawa3030 sawa3030 deleted the follow-pep8 branch November 14, 2025 07:50
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.

3 participants