Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get default type annotation from lugi.Parameter #387

Open
hiro-o918 opened this issue Jul 23, 2024 · 0 comments
Open

get default type annotation from lugi.Parameter #387

hiro-o918 opened this issue Jul 23, 2024 · 0 comments

Comments

@hiro-o918
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant