diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2bbc23e9..81802675 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/src/openllm/venv.py b/src/openllm/venv.py index 09bb2a6e..74ed7ce7 100644 --- a/src/openllm/venv.py +++ b/src/openllm/venv.py @@ -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