refactor: upgrade code to Python 3.8

This commit is contained in:
jo 2022-09-09 20:21:59 +02:00 committed by Kyle Robbertze
parent 92ac838383
commit 0e1dfaa9ff
8 changed files with 13 additions and 18 deletions

View file

@ -1,4 +1,4 @@
from subprocess import PIPE, CalledProcessError, CompletedProcess, run
from subprocess import CalledProcessError, CompletedProcess, run
from loguru import logger
@ -8,9 +8,8 @@ def run_(*args, **kwargs) -> CompletedProcess:
return run(
args,
check=True,
stdout=PIPE,
stderr=PIPE,
universal_newlines=True,
capture_output=True,
text=True,
**kwargs,
)