diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index c8047cf..89817a9 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -1,5 +1,5 @@ version: 2 -enable-beta-ecosystems: true + updates: - package-ecosystem: "uv" directory: "/" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d393f23..bdc0d66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,10 +11,17 @@ repos: - repo: local hooks: + - id: uv-lock + name: uv lock + description: Checks the validity of the uv.lock file. + entry: uv lock + language: system + files: ^(uv\.lock|pyproject\.toml|uv\.toml)$ + pass_filenames: false - id: ruff name: ruff description: Run ruff linting - entry: uv run ruff check --force-exclude + entry: uv run --frozen ruff check --force-exclude language: system 'types_or': [python, pyi] require_serial: true