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

@@ -22,8 +22,6 @@
import subprocess
from typing import List
from .logging import get_logger
from . import tools
@@ -31,7 +29,7 @@ from . import aioproc
# =====
async def remount(name: str, base_cmd: List[str], rw: bool) -> bool:
async def remount(name: str, base_cmd: list[str], rw: bool) -> bool:
logger = get_logger(1)
mode = ("rw" if rw else "ro")
cmd = [