From af855625bbf0828ccde90adb2736a534b57218a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Prpi=C4=8D?= Date: Thu, 25 Jan 2024 15:21:24 -0500 Subject: [PATCH] Make typing hints more restrictive --- cvelib/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvelib/cli.py b/cvelib/cli.py index 383d14e..4825805 100644 --- a/cvelib/cli.py +++ b/cvelib/cli.py @@ -178,7 +178,7 @@ def wrapped(*args: Any, **kwargs: Any) -> Callable: return wrapped -def print_error(msg: str, details: Optional[str]) -> None: +def print_error(msg: str, details: str) -> None: click.secho("ERROR: ", bold=True, nl=False) click.echo(msg) if details: