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/pst/__init__.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'kvmd/apps/pst/__init__.py')
-rw-r--r-- | kvmd/apps/pst/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/apps/pst/__init__.py b/kvmd/apps/pst/__init__.py index 2bb29a08..8f92e39d 100644 --- a/kvmd/apps/pst/__init__.py +++ b/kvmd/apps/pst/__init__.py @@ -20,9 +20,6 @@ # ========================================================================== # -from typing import List -from typing import Optional - from ...logging import get_logger from .. import init @@ -31,7 +28,7 @@ from .server import PstServer # ===== -def main(argv: Optional[List[str]]=None) -> None: +def main(argv: (list[str] | None)=None) -> None: config = init( prog="kvmd-pst", description="The KVMD persistent storage manager", |