From 95e45868881b477ac94f10f5e0c791a5d95f940a Mon Sep 17 00:00:00 2001 From: Jakob Keller <57402305+jakob-keller@users.noreply.github.com> Date: Sun, 8 Dec 2024 22:19:49 +0100 Subject: [PATCH] build: add Astral.sh pre-commit hooks --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b2850c1..6ebdc6e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,11 @@ repos: - id: pretty-format-json - id: requirements-txt-fixer - id: trailing-whitespace - - repo: https://github.com/charliermarsh/ruff-pre-commit + - repo: https://github.com/astral-sh/uv-pre-commit + rev: 0.5.7 + hooks: + - id: uv-lock + - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.8.2 hooks: - id: ruff-format