refactor: upgrade code to Python 3.8
This commit is contained in:
parent
92ac838383
commit
0e1dfaa9ff
8 changed files with 13 additions and 18 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue