opensearch-project / demos

Apache License 2.0
2 stars 13 forks source link

[FEATURE][DocBot] Add mypy type checking #92

Open dtaivpp opened 8 months ago

dtaivpp commented 8 months ago

Is your feature request related to a problem?

At the moment we have types in our project but we dont have a pattern for regularly checking and validating the types.

What solution would you like?

As a pre-commit hook we should enable mypy which will help us with doing typechecking.

Additionally we need to go through and validate the types are correct for the things that we have typed.

yash1506 commented 8 months ago

I would like to work on this issue @dtaivpp !