ci: Introduce static type checker #410
Labels
ci/cd
Continues Integration and delivery
discussion
enhancement
New feature or request
let's do it!
Looking forward to have it implemented
Milestone
🚀 Feature
As PL has
pyright
type checker in ci Lightning-AI/pytorch-lightning#2093, we should have one in Bolts as well.There are a number of type checkers, and reasonable options are:
In my humble opinion, mypy would be a better choice for the reasons listed above.
Motivation
We have type annotations in some classes and functions mainly for docs, but we're currently not sure if the added type hints are correct or not, which should be addressed.
The text was updated successfully, but these errors were encountered: