Update invoke stubs to 2.0.* (#9669)

This commit is contained in:
Alex Waygood
2023-02-06 14:54:21 +00:00
committed by GitHub
parent c65a87481d
commit 191afbc559
4 changed files with 1 additions and 6 deletions

View File

@@ -1 +1 @@
version = "1.7.*"
version = "2.0.*"

View File

@@ -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: ...

View File

@@ -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

View File

@@ -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):