Skip to content

Implement Type-Checking for optuna/distributions.py#6086

Merged
nabenabe0928 merged 3 commits intooptuna:masterfrom
AdrianStrymer:use-type-checking
May 24, 2025
Merged

Implement Type-Checking for optuna/distributions.py#6086
nabenabe0928 merged 3 commits intooptuna:masterfrom
AdrianStrymer:use-type-checking

Conversation

@AdrianStrymer
Copy link
Copy Markdown
Contributor

Motivation

This PR addresses issue #6029 by updating type checking in optuna/distributions.py.
After the changes, flake8 reports no warnings.

Description of the changes

Updated type checking for optuna/distributions.py.

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 PR, LGTM!

@nabenabe0928 nabenabe0928 added the code-fix Change that does not change the behavior, such as code refactoring. label May 22, 2025
@nabenabe0928 nabenabe0928 merged commit 3be1ff2 into optuna:master May 24, 2025
14 checks passed
@nabenabe0928 nabenabe0928 added this to the v4.4.0 milestone May 24, 2025
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