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
pyproject.toml(chore[mypy]): Exclude frozen_dataclass_sealable test files from type checking
why: The frozen_dataclass_sealable decorator adds attributes and methods dynamically at runtime,
which mypy cannot properly analyze in test contexts, resulting in false positive errors.
what:
- Added mypy override to ignore type errors in tests._internal.test_frozen_dataclass_sealable
- Added mypy override to ignore type errors in tests.examples._internal.frozen_dataclass_sealable.test_basic
- Preserves strict typing for the implementation code while allowing tests to use dynamic features
refs: This addresses the mypy test failures while maintaining type safety for the implementation
0 commit comments