mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 08:28:54 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
1 parent
1278fa86e2
commit
a5bc1e037f
74 files changed
+218
-202
No files matched your search
@@ -10,15 +10,15 @@ concat: Any
|
||||
|
||||
_CallableT = TypeVar("_CallableT", bound=Callable[..., Any])
|
||||
|
||||
class _ContextFunction(Protocol[_CallableT]): # type: ignore
|
||||
class _ContextFunction(Protocol[_CallableT]):
|
||||
contextfunction: Literal[True]
|
||||
__call__: _CallableT
|
||||
|
||||
class _EvalContextFunction(Protocol[_CallableT]): # type: ignore
|
||||
class _EvalContextFunction(Protocol[_CallableT]):
|
||||
evalcontextfunction: Literal[True]
|
||||
__call__: _CallableT
|
||||
|
||||
class _EnvironmentFunction(Protocol[_CallableT]): # type: ignore
|
||||
class _EnvironmentFunction(Protocol[_CallableT]):
|
||||
environmentfunction: Literal[True]
|
||||
__call__: _CallableT
|
||||
|
||||
|
||||
Reference in new issue
Block a user