opensearch-project/demos

[FEATURE][DocBot] Add mypy type checking

Aperta

#92 aperta il 6 nov 2023

 (1 commento) (0 reazioni) (0 assegnatari) (18 fork)auto 404
OSCIenhancementgood first issue

Metriche repository

Star
 (4 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor