diff --git a/src/antsibull_core/venv.py b/src/antsibull_core/venv.py index 524b343..a0cc7e3 100644 --- a/src/antsibull_core/venv.py +++ b/src/antsibull_core/venv.py @@ -11,7 +11,7 @@ import os import venv from collections.abc import MutableSequence -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, NoReturn import sh @@ -167,7 +167,7 @@ def get_command(executable_name) -> sh.Command: return sh.Command(executable_name) @staticmethod - def install_package(package_name: str) -> sh.RunningCommand: + def install_package(package_name: str) -> NoReturn: """ Install a python package into the venv.