From 8124127efb8bc1f3f012e7ec8d2c82db1420cde2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 16:55:27 +0000 Subject: [PATCH 1/2] ci: pre-commit autoupdate [pre-commit.ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.14.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.14.9) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.19.1) - [github.com/editorconfig-checker/editorconfig-checker.python: 3.4.0 → 3.6.0](https://github.com/editorconfig-checker/editorconfig-checker.python/compare/3.4.0...3.6.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6d430284..23d3a46c8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ default_language_version: python: python3.11 # NOTE: sync with .python-version-default repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.12" + rev: "v0.14.9" hooks: - id: ruff alias: r @@ -19,14 +19,14 @@ repos: verbose: true types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.17.1" + rev: "v1.19.1" hooks: - id: mypy args: [--strict, --ignore-missing-imports] additional_dependencies: [pydantic, types-pyyaml, types-tabulate, types-psutil, typer] - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: "3.4.0" + rev: "3.6.0" hooks: - id: editorconfig-checker verbose: true From 6ec1b7d4f254685dc72f53401d1be6a688d23a68 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 16:55:53 +0000 Subject: [PATCH 2/2] ci: auto fixes from pre-commit.ci For more information, see https://pre-commit.ci --- src/openllm/common.py | 2 +- src/openllm/repo.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openllm/common.py b/src/openllm/common.py index c3646ba69..00c7f1635 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 50db42681..ddad9089f 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