From 432fc3ff003e4626947ea8eb5a1204d08b27e2ef Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 20 Jun 2022 21:06:53 -0700 Subject: [PATCH] Bump invoke to 1.7.* (#8111) --- stubs/invoke/METADATA.toml | 2 +- stubs/invoke/invoke/collection.pyi | 2 +- stubs/invoke/invoke/tasks.pyi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/invoke/METADATA.toml b/stubs/invoke/METADATA.toml index 6cf9fae44..ef7966007 100644 --- a/stubs/invoke/METADATA.toml +++ b/stubs/invoke/METADATA.toml @@ -1 +1 @@ -version = "1.6.*" +version = "1.7.*" diff --git a/stubs/invoke/invoke/collection.pyi b/stubs/invoke/invoke/collection.pyi index c1f0744fa..415b0bfef 100644 --- a/stubs/invoke/invoke/collection.pyi +++ b/stubs/invoke/invoke/collection.pyi @@ -14,7 +14,7 @@ class Collection: def add_collection(self, coll, name=..., default=...) -> None: ... def subcollection_from_path(self, path): ... def task_with_config(self, name): ... - def to_contexts(self): ... + def to_contexts(self, ignore_unknown_help: bool | None = ...): ... def subtask_name(self, collection_name, task_name): ... def transform(self, name): ... @property diff --git a/stubs/invoke/invoke/tasks.pyi b/stubs/invoke/invoke/tasks.pyi index adfd5b94f..9e60b0b5f 100644 --- a/stubs/invoke/invoke/tasks.pyi +++ b/stubs/invoke/invoke/tasks.pyi @@ -53,7 +53,7 @@ class Task: def argspec(self, body): ... def fill_implicit_positionals(self, positional: Iterable[str] | None) -> Iterable[str]: ... def arg_opts(self, name: str, default: Any, taken_names: Iterable[str]) -> dict[str, Any]: ... - def get_arguments(self) -> list[Argument]: ... + def get_arguments(self, ignore_unknown_help: bool | None = ...) -> list[Argument]: ... @overload def task(__func: Callable[..., Any]) -> Task: ...