Skip to content

Fix unused mypy ignore in GP QMC sampling - #6848

Merged
c-bata merged 1 commit into
optuna:masterfrom
c-bata:fix-action-34169447135
Sep 9, 2026
Merged

c-bata merged 1 commit into
optuna:masterfrom
c-bata:fix-action-34169447135

Conversation

@c-bata

@c-bata c-bata commented Sep 8, 2026

Copy link
Copy Markdown
Member

Motivation

The scheduled optional-dependencies check failed because an unused mypy ignore was detected in optuna/_gp/qmc.py.
https://github.com/optuna/optuna/actions/runs/34169447135/job/101886800701

Description of the changes

Remove the obsolete no-untyped-call ignore from the SobolEngine call and apply the required formatting.

Checklist

  • I used an LLM while working on this PR.

@c-bata

c-bata commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

@kAIto47802 Could you review this PR?

@c-bata c-bata added the CI Continuous integration. label Sep 8, 2026

@kAIto47802 kAIto47802 left a comment

Copy link
Copy Markdown
Collaborator

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 commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

Let me merge this PR with one approval since this PR only removes the type: ignore comment.

@c-bata c-bata added this to the v5.1.0 milestone Sep 9, 2026
@c-bata
c-bata merged commit 9b2eb55 into optuna:master Sep 9, 2026
14 checks passed
@c-bata
c-bata deleted the fix-action-34169447135 branch September 9, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants