format: auto-format code [skip ci]

This commit is contained in:
github-actions[bot]
2026-02-18 16:34:25 +00:00
parent 92e2148081
commit 9350075ebf
+3 -1
View File
@@ -48,7 +48,9 @@ def set_version(new_version: str) -> None:
print(f" Updated tensors/__init__.py to {new_version}") print(f" Updated tensors/__init__.py to {new_version}")
def run(cmd: list[str], *, check: bool = True, capture: bool = False, cwd: Path | None = None) -> subprocess.CompletedProcess[str]: def run(
cmd: list[str], *, check: bool = True, capture: bool = False, cwd: Path | None = None
) -> subprocess.CompletedProcess[str]:
"""Run a command.""" """Run a command."""
print(f" $ {' '.join(cmd)}") print(f" $ {' '.join(cmd)}")
return subprocess.run(cmd, check=check, capture_output=capture, text=True, cwd=cwd or PROJECT_ROOT) return subprocess.run(cmd, check=check, capture_output=capture, text=True, cwd=cwd or PROJECT_ROOT)