Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.13.3"
hooks:
- id: ruff
alias: r
Expand All @@ -19,7 +19,7 @@ repos:
verbose: true
types_or: [python, pyi, jupyter]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.17.1"
rev: "v1.18.2"
hooks:
- id: mypy
args: [--strict, --ignore-missing-imports]
Expand Down
2 changes: 1 addition & 1 deletion src/openllm/common.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion src/openllm/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down