diff --git a/src/runner.py b/src/runner.py index 54408cc..ee00991 100644 --- a/src/runner.py +++ b/src/runner.py @@ -108,10 +108,10 @@ def _cli(cls, args: _Args): _T = TypeVar("_T") - def ask(arg: _T | None, question: _T) -> _T | str: + def ask(arg: _T | None, question: str) -> _T | str: return input(question) if arg is None else arg - def ask_yes(arg: _T, question: _T) -> bool: + def ask_yes(arg: bool, question: str) -> bool: return input(question).lower() == 'y' if arg else arg # Define all questions