Skip to content

Incompatible types when running mypy hook #6142

@Ajay-Satish-01

Description

@Ajay-Satish-01

Motivation

mypy pre-commit hook fails due to int type errors.

  • optuna/study/_multi_objective.py
  • optuna/_gp/optim_mixed.py

Image

Suggestion

Fix these by adding explicit types

Additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-fixChange that does not change the behavior, such as code refactoring.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions