From 53124d83cfb6b00d3119950bdcfef8999d36bd72 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Mon, 6 Jul 2026 19:08:39 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=94=A8=20add=20Ruff=20to=20pre-co?= =?UTF-8?q?mmit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/.pre-commit-config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml index 7e55ae5..fbfa793 100644 --- a/template/.pre-commit-config.yaml +++ b/template/.pre-commit-config.yaml @@ -31,4 +31,14 @@ repos: - repo: https://github.com/rvben/rumdl-pre-commit rev: v0.1.94 hooks: - - id: rumdl-fmt # Auto-format + - id: rumdl-fmt + + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.15.16 + hooks: + # Run the linter. + - id: ruff-check + args: [--fix] + # Run the formatter. + - id: ruff-format