1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

Add typing in plugins/modules/uv_python.py

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Mariam Ahhttouche 2026-03-11 14:12:24 +00:00
parent 281b072aed
commit 532c92d760

View file

@ -139,7 +139,7 @@ class UV:
required_version=MINIMUM_UV_VERSION,
)
def install_python(self) -> tuple[bool, str, str, int, list, list]:
def install_python(self) -> tuple[bool, str, str, int, list[str], list[str]]:
"""
Runs command 'uv python install X.Y.Z' which installs specified python version.
If patch version is not specified uv installs latest available patch version.