Skip to content

Commit

Permalink
fix venv.FakeVenvRunner.install_package type
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmax23 committed Apr 9, 2023
1 parent 9806f28 commit fa0c7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/antsibull_core/venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit fa0c7b1

Please sign in to comment.