Skip to content

Commit 992ed5c

Browse files
Update pre-commit hooks (#2188)
Co-authored-by: Matthias Kestenholz <[email protected]>
1 parent e2fd4c0 commit 992ed5c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ repos:
1414
hooks:
1515
- id: doc8
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.25.0
17+
rev: 1.28.0
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "4.2"]
2121
- repo: https://github.com/adamchainz/djade-pre-commit
22-
rev: "1.4.0"
22+
rev: "1.6.0"
2323
hooks:
2424
- id: djade
2525
args: [--target-version, "4.2"]
@@ -29,12 +29,12 @@ repos:
2929
- id: rst-backticks
3030
- id: rst-directive-colons
3131
- repo: https://github.com/biomejs/pre-commit
32-
rev: v2.1.4
32+
rev: v2.2.3
3333
hooks:
3434
- id: biome-check
3535
verbose: true
3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: 'v0.12.8'
37+
rev: 'v0.12.12'
3838
hooks:
3939
- id: ruff
4040
args: [--fix, --exit-non-zero-on-fix]

biome.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
33
"formatter": {
44
"enabled": true,
55
"useEditorconfig": true
@@ -15,6 +15,9 @@
1515
"enabled": true,
1616
"rules": {
1717
"recommended": true,
18+
"complexity": {
19+
"noImportantStyles": "off"
20+
},
1821
"correctness": {
1922
"noUndeclaredVariables": "error"
2023
},

0 commit comments

Comments
 (0)