diff options
author | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
commit | ee3e224e396494cd0d69bb6167087a071a20349c (patch) | |
tree | 5becd28570e58a03c6e1e231d0db24c264a73f88 /kvmd/apps/edidconf | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'kvmd/apps/edidconf')
-rw-r--r-- | kvmd/apps/edidconf/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/apps/edidconf/__init__.py b/kvmd/apps/edidconf/__init__.py index 53edf5fd..e6dcc610 100644 --- a/kvmd/apps/edidconf/__init__.py +++ b/kvmd/apps/edidconf/__init__.py @@ -28,11 +28,9 @@ import contextlib import argparse import time -from typing import List from typing import IO from typing import Generator from typing import Callable -from typing import Optional from ...validators.basic import valid_bool from ...validators.basic import valid_int_f0 @@ -180,7 +178,7 @@ def _make_format_hex(size: int) -> Callable[[int], str]: # ===== -def main(argv: Optional[List[str]]=None) -> None: # pylint: disable=too-many-branches +def main(argv: (list[str] | None)=None) -> None: # pylint: disable=too-many-branches # (parent_parser, argv, _) = init( # add_help=False, # argv=argv, |