opensearch-project/demos

[FEATURE][DocBot] Add mypy type checking

開放

#92 建立於 2023年11月6日

 (1 則留言) (0 個反應) (0 位負責人) (18 個分叉)auto 404
OSCIenhancementgood first issue

倉庫指標

星標
 (4 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南