Skip to content

Remove unused type ignore comment#6607

Merged
not522 merged 1 commit intooptuna:masterfrom
c-bata:fix-mypy-issue
Apr 1, 2026
Merged

Remove unused type ignore comment#6607
not522 merged 1 commit intooptuna:masterfrom
c-bata:fix-mypy-issue

Conversation

@c-bata
Copy link
Copy Markdown
Member

@c-bata c-bata commented Apr 1, 2026

Motivation

Resolves https://github.com/optuna/optuna/actions/runs/23823854977/job/69442281967

Description of the changes

According to the scheduled CI, there is an unused type: ignore comment, causing CI being failed.

mypy . --warn-unused-ignores
optuna/visualization/_intermediate_values.py:98: error: Unused "type: ignore" comment [unused-ignore]
Found 1 error in 1 file (checked 324 source files)

@c-bata c-bata added the code-fix Change that does not change the behavior, such as code refactoring. label Apr 1, 2026
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.
I'll merge this PR with just one approval since the change is obvious.

@not522 not522 added this to the v4.9.0 milestone Apr 1, 2026
@not522 not522 merged commit f909b65 into optuna:master Apr 1, 2026
14 checks passed
@not522 not522 changed the title Remove unused type ignroe comment Remove unused type ignore comment Apr 1, 2026
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