mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
run lint with pyupgrade at py39-plus
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user