Run pre-commit (#4163)

This commit is contained in:
Graham Neubig
2024-10-02 00:52:02 -04:00
committed by GitHub
parent 240a470a1d
commit 178dbfaf4a
12 changed files with 40 additions and 22 deletions

View File

@@ -1,3 +1,3 @@
from .cmd import run_cmd, check_tool_installed
from .cmd import check_tool_installed, run_cmd
__all__ = ['run_cmd', 'check_tool_installed']

View File

@@ -1,5 +1,6 @@
import subprocess
import os
import subprocess
def run_cmd(cmd: str, cwd: str | None = None) -> str | None:
"""Run a command and return the output.