Skip to content

Commit 28e4db4

Browse files
authored
style: fix ruff rule FA100 (#359)
1 parent ea1ab7f commit 28e4db4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

plugins/module_utils/proxmox_sdn.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# Copyright (c) 2025, Jana Hoch <janahoch91@proton.me>
33
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
44
# SPDX-License-Identifier: GPL-3.0-or-later
5-
6-
7-
from typing import Dict, List
5+
from __future__ import annotations
86

97
from ansible_collections.community.proxmox.plugins.module_utils.proxmox import (
108
ProxmoxAnsible,
@@ -90,7 +88,7 @@ def release_lock(self, lock: str, force: bool = False) -> None:
9088
msg=f"Failed to release lock - {e}. Manually clear lock by deleting /etc/pve/sdn/.lock"
9189
)
9290

93-
def get_zones(self, zone_type: str = None) -> List[Dict]:
91+
def get_zones(self, zone_type: str = None) -> list[dict]:
9492
"""Get Proxmox SDN zones.
9593
9694
:param zone_type: Filter zones based on type.

0 commit comments

Comments
 (0)