m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
318 stars 57 forks source link

get default type annotation from `lugi.Parameter` #387

Open hiro-o918 opened 3 months ago

hiro-o918 commented 3 months ago

What

According to this PR, lugi.Parameter is type annotated by str explicitly, because currently Mypy handles lugi.Parameter as any type.

Since lugi.Parameter is a parameter for str input, we do not need explicit type annotation. Update mypy plugin to get default type from each parameters