mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Update invoke stubs to 2.0.* (#9669)
This commit is contained in:
@@ -1 +1 @@
|
||||
version = "1.7.*"
|
||||
version = "2.0.*"
|
||||
|
||||
@@ -148,7 +148,6 @@ class Runner:
|
||||
def send_interrupt(self, interrupt) -> None: ...
|
||||
def returncode(self) -> None: ...
|
||||
def stop(self) -> None: ...
|
||||
def stop_timer(self) -> None: ...
|
||||
def kill(self) -> None: ...
|
||||
@property
|
||||
def timed_out(self): ...
|
||||
@@ -183,7 +182,6 @@ class Result:
|
||||
) -> None: ...
|
||||
@property
|
||||
def return_code(self) -> int: ...
|
||||
def __nonzero__(self) -> bool: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
@property
|
||||
def ok(self) -> bool: ...
|
||||
|
||||
@@ -11,8 +11,6 @@ _P = ParamSpec("_P")
|
||||
_R_co = TypeVar("_R_co", covariant=True)
|
||||
_TaskT = TypeVar("_TaskT", bound=Task[..., Any])
|
||||
|
||||
NO_DEFAULT: object
|
||||
|
||||
class Task(Generic[_P, _R_co]):
|
||||
body: Callable[_P, _R_co]
|
||||
__doc__: str | None
|
||||
|
||||
@@ -15,7 +15,6 @@ def task_name_sort_key(name: str) -> tuple[list[str], str]: ...
|
||||
def cd(where: str) -> AbstractContextManager[None]: ...
|
||||
def has_fileno(stream) -> bool: ...
|
||||
def isatty(stream) -> bool: ...
|
||||
def encode_output(string: str, encoding: str) -> str: ...
|
||||
def helpline(obj: Callable[..., object]) -> str | None: ...
|
||||
|
||||
class ExceptionHandlingThread(threading.Thread):
|
||||
|
||||
Reference in New Issue
Block a user