Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ repos:
hooks:
- id: identity

# Stolen from: https://github.com/elementary-data/elementary/blob/ef5043811a72009126391a3f0c8a18f72ae00b18/.pre-commit-config.yaml
- repo: local
hooks:
- id: no-commit
name: Check for NO_COMMIT marker
entry: bash -c "git diff --cached -U0 | (! grep NO_COMMIT)"
language: system
pass_filenames: false
always_run: true

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
Expand Down Expand Up @@ -56,13 +46,13 @@ repos:
name: Validate pre-commit CI config

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.10.8
rev: 0.10.12
hooks:
- id: uv-lock
name: Check that the lock file is up-to-date

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.5
rev: v0.15.7
hooks:
- id: ruff-check
name: Lint Python code
Expand All @@ -82,10 +72,10 @@ repos:
types: ["python"]

- repo: https://github.com/billwallis/bills-hooks
rev: v0.0.8
rev: v0.0.10
hooks:
- id: check-no-commit-comment
- id: tidy-gitkeep
name: Remove redundant .gitkeep files

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.0
Expand Down