1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 13:19:13 +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:11:49 +00:00
parent ae57b2b809
commit 281b072aed

View file

@ -113,7 +113,7 @@ class UV:
Module for managing Python versions and installations using "uv python" command
"""
def __init__(self, module):
def __init__(self, module: AnsibleModule) -> None:
self.module = module
self.bin_path = self.module.get_bin_path("uv", required=True)
self._ensure_min_uv_version()