mirror of
https://github.com/blender/blender-addons-contrib.git
synced 2025-08-16 16:14:56 +00:00
Extensions: resolve missing type hints
This commit is contained in:
@ -202,7 +202,7 @@ def command_output_filter_exclude(
|
|||||||
|
|
||||||
def command_output(
|
def command_output(
|
||||||
args: Sequence[str],
|
args: Sequence[str],
|
||||||
expected_returncode=0,
|
expected_returncode: int = 0,
|
||||||
) -> str:
|
) -> str:
|
||||||
proc = subprocess.run(
|
proc = subprocess.run(
|
||||||
[*CMD, *args],
|
[*CMD, *args],
|
||||||
@ -221,7 +221,7 @@ def command_output_from_json_0(
|
|||||||
args: Sequence[str],
|
args: Sequence[str],
|
||||||
*,
|
*,
|
||||||
exclude_types: Optional[Set[str]] = None,
|
exclude_types: Optional[Set[str]] = None,
|
||||||
expected_returncode=0,
|
expected_returncode: int = 0,
|
||||||
) -> Sequence[Tuple[str, Any]]:
|
) -> Sequence[Tuple[str, Any]]:
|
||||||
result = []
|
result = []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user