Add type checking
What
Provide and enforce types in Python code.
Why
When building a library, types help to provide hints to developers on what parameters functions take and what values they return. Enforcing these types ensures that unintended consequences do not occur when using types that you do not anticipate.
When
Post-Release
Implementations:
- Static Typing
- Runtime type checking
Recommendation:
mypy, Pydantic