Skip to content

Commit e1c91cc

Browse files
committed
fix(interfacy): improve type annotations with Any
1 parent 55e9381 commit e1c91cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

interfacy/interfacy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import argparse
44
from collections.abc import Callable, Sequence
5-
from typing import TYPE_CHECKING, Literal, TypeAlias, TypeVar
5+
from typing import TYPE_CHECKING, Any, Literal, TypeAlias, TypeVar
66

77
from objinspect import Class, Function
88
from strto import StrToTypeParser
@@ -326,7 +326,7 @@ def pipe_to(
326326
*,
327327
command: str | None = None,
328328
subcommand: str | None = None,
329-
**normalization_kwargs: object,
329+
**normalization_kwargs: Any,
330330
) -> PipeTargets:
331331
return self._parser.pipe_to(
332332
targets,
@@ -347,7 +347,7 @@ def parser_from_command(self, command: Function | Class, main: bool = False) ->
347347
def parse_args(self, args: list[str] | None = None) -> dict[str, object]:
348348
return self._parser.parse_args(args)
349349

350-
def run(self, *commands: CommandTarget, args: list[str] | None = None) -> object:
350+
def run(self, *commands: CommandTarget, args: list[str] | None = None) -> Any:
351351
return self._parser.run(*commands, args=args)
352352

353353
def parser_from_function(

0 commit comments

Comments
 (0)