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:
pre-commit-ci[bot]
2024-08-05 15:18:53 -04:00
committed by GitHub
parent cb81b1c6d1
commit 54fbd6d830
2 changed files with 3 additions and 4 deletions

View File

@@ -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]

View File

@@ -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