code-to10 v7 mech merge fix: silence mypy misc redefinition on Protocol fallback in gate_verification.py (item6-introduced), no runtime semantics changed
(cherry picked from commit 9f8b95fa03643db7bef028b9877cc1c1bc78ef4e)
This commit is contained in:
1 parent
a4c92d888c
commit
51b26633b8
1 file changed
+1
-1
@@ -99,7 +99,7 @@ try:
|
|||||||
except ImportError: # pragma: no cover - Python < 3.8
|
except ImportError: # pragma: no cover - Python < 3.8
|
||||||
Protocol = object # type: ignore
|
Protocol = object # type: ignore
|
||||||
|
|
||||||
def runtime_checkable(cls):
|
def runtime_checkable(cls): # type: ignore[misc]
|
||||||
return cls
|
return cls
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user