Open
Description
Description
Extend Pysertive to work seamlessly with MyPy, ensuring that contract checks also consider type hints. This will enhance type safety and static analysis.
Suggested Implementation
Create a new decorator @assert_types
that validates type hints for function arguments and return values.
Acceptance Criteria
@assert_types
decorator is created to enforce type hints.@assert_types
works alongside existing decorators.- Unit tests are written to ensure type hinting works as expected.