diff --git a/stubs/invoke/METADATA.toml b/stubs/invoke/METADATA.toml index ef7966007..58bc38349 100644 --- a/stubs/invoke/METADATA.toml +++ b/stubs/invoke/METADATA.toml @@ -1 +1 @@ -version = "1.7.*" +version = "2.0.*" diff --git a/stubs/invoke/invoke/runners.pyi b/stubs/invoke/invoke/runners.pyi index 063b76b21..755b0ea33 100644 --- a/stubs/invoke/invoke/runners.pyi +++ b/stubs/invoke/invoke/runners.pyi @@ -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: ... diff --git a/stubs/invoke/invoke/tasks.pyi b/stubs/invoke/invoke/tasks.pyi index d43bce4fb..3da35f6c9 100644 --- a/stubs/invoke/invoke/tasks.pyi +++ b/stubs/invoke/invoke/tasks.pyi @@ -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 diff --git a/stubs/invoke/invoke/util.pyi b/stubs/invoke/invoke/util.pyi index d010b6030..bfd238204 100644 --- a/stubs/invoke/invoke/util.pyi +++ b/stubs/invoke/invoke/util.pyi @@ -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):