optuna-examples
optuna-examples copied to clipboard
Consider introducing type hints and mypy
Consider adding type hints to the code and run mypy in the CI (optuna
itself has type hints). In addition to the static checking, type hints acts as documentation. The downside is that it will increase maintenance cost.
See also https://github.com/optuna/optuna/issues/2165.
This is a good idea and would bring the examples in line with the optuna/optuna code. This doesn't need to be done all at once, so we welcome contributors to work on adding type hints and mypy compatibility on a example by example basis.
This issue has not seen any recent activity.
This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.