Skip to content

Reject @runtime_checkable on non-protocol classes - #11646

Open
Henry Su (hsusul) wants to merge 2 commits into
microsoft:mainfrom
hsusul:fix/runtime-checkable-requires-protocol
Open

Reject @runtime_checkable on non-protocol classes#11646
Henry Su (hsusul) wants to merge 2 commits into
microsoft:mainfrom
hsusul:fix/runtime-checkable-requires-protocol

Validate the decorated class type for @runtime_checkable.

c69ec25
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 warning
Run mypy_primer on PR (0)
succeeded Aug 18, 2026 in 9m 32s