new typing style

This commit is contained in:
Maxim Devaev
2022-09-04 18:08:40 +03:00
parent 4b75221e94
commit ee3e224e39
129 changed files with 593 additions and 941 deletions

View File

@@ -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,