diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab9b97b..5dc145f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_install_hook_types: - post-rewrite repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-case-conflict @@ -30,15 +30,20 @@ repos: exclude: package.lock.json - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.9.7 + rev: 0.11.17 hooks: # Update the uv lockfile - id: uv-lock stages: - pre-commit + files: ^pyproject\.toml|^uv\.lock$ - id: uv-sync stages: - pre-commit + always_run: false + files: ^pyproject\.toml|^uv\.lock$ + - id: uv-sync + stages: - post-checkout - post-merge - post-rewrite diff --git a/.tool-versions b/.tool-versions index 8a25be2..3ec1a65 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ pre-commit 4.6.0 -uv 0.8.16 +uv 0.11.17