Skip to content

Commit

Permalink
Make typing hints more restrictive
Browse files Browse the repository at this point in the history
  • Loading branch information
mprpic committed Jan 25, 2024
1 parent 29f5540 commit af85562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvelib/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit af85562

Please sign in to comment.