From 1d5b6cc59214b4901027522dcdb2453387e795c8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 16:53:10 +0000 Subject: [PATCH] ci: auto fixes from pre-commit.ci For more information, see https://pre-commit.ci --- gen_readme.py | 3 ++- src/openllm/common.py | 2 +- src/openllm/repo.py | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_readme.py b/gen_readme.py index d9ea7192..902273cf 100644 --- a/gen_readme.py +++ b/gen_readme.py @@ -11,7 +11,8 @@ import subprocess, sys, pathlib, json, jinja2 if __name__ == '__main__': with (pathlib.Path('.').parent / 'README.md').open('w') as f: f.write( - jinja2.Environment(loader=jinja2.FileSystemLoader('.')) + jinja2 + .Environment(loader=jinja2.FileSystemLoader('.')) .get_template('README.md.tpl') .render( model_dict=json.loads( diff --git a/src/openllm/common.py b/src/openllm/common.py index c3646ba6..00c7f163 100644 --- a/src/openllm/common.py +++ b/src/openllm/common.py @@ -1,7 +1,7 @@ from __future__ import annotations import asyncio, asyncio.subprocess, functools, hashlib, io, json, os, pathlib, signal, subprocess, sys, sysconfig, typing, shlex -import typer, typer.core, pydantic, questionary, pyaml, yaml +import typer, pydantic, questionary, pyaml, yaml from collections import UserDict from contextlib import asynccontextmanager, contextmanager diff --git a/src/openllm/repo.py b/src/openllm/repo.py index 50db4268..ddad9089 100644 --- a/src/openllm/repo.py +++ b/src/openllm/repo.py @@ -167,7 +167,6 @@ def _clone_repo(repo: RepoInfo) -> None: ['git', 'clone', '--depth=1', '-b', repo.branch, repo.url, str(repo.path)], check=True ) except (subprocess.CalledProcessError, FileNotFoundError): - import dulwich import dulwich.porcelain # Dulwich doesn't have easy output suppression, but we rarely get here