optuna / optunahub-registry

The registry of the OptunaHub packages
https://hub.optuna.org/
MIT License
32 stars 30 forks source link

Refactor to address mypy problem in PLMBO #154

Closed ro1205 closed 1 month ago

ro1205 commented 1 month ago

Contributor Agreements

Please read the contributor agreements and if you agree, please click the checkbox below.

[!TIP] Please follow the Quick TODO list to smoothly merge your PR.

Motivation

Do PLMBO code refactoring to address all (more than 60) mypy errors which were previously ignored.

Description of the changes

Mainly add type annotation and assertion.

y0z commented 1 month ago

Thank you for your significant update!