From e697695f942351911fab2890bddc06bcea3e33b2 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Tue, 9 Sep 2025 11:46:00 +0200 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 8 ++++---- biome.json | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63682ba1c..6ffe7828d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: hooks: - id: doc8 - repo: https://github.com/adamchainz/django-upgrade - rev: 1.25.0 + rev: 1.28.0 hooks: - id: django-upgrade args: [--target-version, "4.2"] - repo: https://github.com/adamchainz/djade-pre-commit - rev: "1.4.0" + rev: "1.6.0" hooks: - id: djade args: [--target-version, "4.2"] @@ -29,12 +29,12 @@ repos: - id: rst-backticks - id: rst-directive-colons - repo: https://github.com/biomejs/pre-commit - rev: v2.1.4 + rev: v2.2.3 hooks: - id: biome-check verbose: true - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.12.8' + rev: 'v0.12.12' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/biome.json b/biome.json index 589fc1d74..2fce79fdf 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", + "$schema": "https://biomejs.dev/schemas/2.2.3/schema.json", "formatter": { "enabled": true, "useEditorconfig": true @@ -15,6 +15,9 @@ "enabled": true, "rules": { "recommended": true, + "complexity": { + "noImportantStyles": "off" + }, "correctness": { "noUndeclaredVariables": "error" },