refactor: update project code

This commit is contained in:
2026-07-31 15:52:16 +03:00
parent cc811d2174
commit 9a9338cfdc
16 changed files with 90 additions and 60 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ class CommandLogger(threading.Thread):
class CommandExecutor:
_logger = logger
def __init__(self, command: str) -> None:
def __init__(self, command: str):
self._command = command
def run(self, basepath: Path):
@@ -58,8 +58,8 @@ class CommandExecutor:
result = subprocess.run(
self._command.split(" "),
cwd=basepath,
stdout=out_logger,
stderr=err_logger,
stdout=out_logger, # type: ignore
stderr=err_logger, # type: ignore
)
finally:
out_logger.close()