mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-06-11 18:09:52 -04:00
ci: pre-commit autoupdate [pre-commit.ci] [skip ci] (#1058)
* ci: pre-commit autoupdate [pre-commit.ci] updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.5...v0.5.6) - [github.com/pre-commit/mirrors-mypy: v1.11.0 → v1.11.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.0...v1.11.1) * ci: auto fixes from pre-commit.ci For more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cb81b1c6d1
commit
54fbd6d830
@@ -8,7 +8,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.5.5"
|
||||
rev: "v0.5.6"
|
||||
hooks:
|
||||
- id: ruff
|
||||
alias: r
|
||||
@@ -20,7 +20,7 @@ repos:
|
||||
verbose: true
|
||||
types_or: [python, pyi, jupyter]
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: "v1.11.0"
|
||||
rev: "v1.11.1"
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: [--strict]
|
||||
|
||||
@@ -5,8 +5,7 @@ import shutil
|
||||
|
||||
import typer
|
||||
|
||||
from openllm.common import (VENV_DIR, VERBOSE_LEVEL, BentoInfo, VenvSpec,
|
||||
output, run_command)
|
||||
from openllm.common import VENV_DIR, VERBOSE_LEVEL, BentoInfo, VenvSpec, output, run_command
|
||||
|
||||
|
||||
@functools.lru_cache
|
||||
|
||||
Reference in New Issue
Block a user