From ee3e224e396494cd0d69bb6167087a071a20349c Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 4 Sep 2022 18:08:40 +0300 Subject: new typing style --- kvmd/apps/ipmi/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'kvmd/apps/ipmi/__init__.py') diff --git a/kvmd/apps/ipmi/__init__.py b/kvmd/apps/ipmi/__init__.py index fc450228..13aa9730 100644 --- a/kvmd/apps/ipmi/__init__.py +++ b/kvmd/apps/ipmi/__init__.py @@ -20,9 +20,6 @@ # ========================================================================== # -from typing import List -from typing import Optional - from ...clients.kvmd import KvmdClient from ... import htclient @@ -34,7 +31,7 @@ from .server import IpmiServer # ===== -def main(argv: Optional[List[str]]=None) -> None: +def main(argv: (list[str] | None)=None) -> None: config = init( prog="kvmd-ipmi", description="IPMI to KVMD proxy", -- cgit v1.2.3