run lint with pyupgrade at py39-plus

This commit is contained in:
pacrob
2025-01-25 15:31:51 -07:00
committed by Paul Robinson
parent 20580b9a4e
commit 8787613e91
44 changed files with 221 additions and 240 deletions

View File

@ -2,11 +2,10 @@ from abc import (
ABC,
abstractmethod,
)
import subprocess
from typing import (
from collections.abc import (
Iterable,
List,
)
import subprocess
import trio
@ -26,7 +25,7 @@ class AbstractInterativeProcess(ABC):
class BaseInteractiveProcess(AbstractInterativeProcess):
proc: trio.Process = None
cmd: str
args: List[str]
args: list[str]
bytes_read: bytearray
patterns: Iterable[bytes] = None
event_ready: trio.Event