Skip to content

Update Type-Checking for optuna/importance/_base.py#6046

Merged
y0z merged 2 commits intooptuna:masterfrom
ParagEkbote:Fix-Type-Checking-For-Base
Apr 21, 2025
Merged

Update Type-Checking for optuna/importance/_base.py#6046
y0z merged 2 commits intooptuna:masterfrom
ParagEkbote:Fix-Type-Checking-For-Base

Conversation

@ParagEkbote
Copy link
Copy Markdown
Contributor

Motivation

Fixes #6029

As described in the issue, I have updated type checking for the file and flake8 does not show any warnings.

Could you please review?

cc: @nabenabe0928

Description of the changes

Updated type checking for optuna/importance/_base.py

Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
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!

@c-bata c-bata changed the title Update Type-Checking for optuna/importance/_base.py Update Type-Checking for optuna/importance/_base.py Apr 15, 2025
@c-bata
Copy link
Copy Markdown
Member

c-bata commented Apr 15, 2025

@sawa3030 @y0z Could you review this PR?

@c-bata c-bata added the code-fix Change that does not change the behavior, such as code refactoring. label Apr 15, 2025
@nabenabe0928 nabenabe0928 added this to the v4.4.0 milestone Apr 16, 2025
Copy link
Copy Markdown
Member

@y0z y0z left a comment

Choose a reason for hiding this comment

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

LGTM

@y0z y0z merged commit a637626 into optuna:master Apr 21, 2025
14 checks passed
@y0z y0z removed their assignment Apr 21, 2025
@ParagEkbote ParagEkbote deleted the Fix-Type-Checking-For-Base branch April 21, 2025 04:40
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 TYPE_CHECKING if necessary

4 participants