You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: