From 4e4bdbd191eb00ef42d9bd6fe9a8303a16f6878d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 2 May 2023 10:39:44 +0200 Subject: [PATCH] top: Add ruff to pre-commit. This does not align with the other pre-commit jobs with are local custom code but it should run accurately and quickly. Signed-off-by: Christian Clauss --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 12f3d79c93..e9815a4b2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,7 @@ repos: language: python verbose: true stages: [commit-msg] + - repo: https://github.com/charliermarsh/ruff-pre-commit + rev: v0.0.265 + hooks: + - id: ruff