Skip to content

Commit 0500d40

Browse files
committed
Update pre-commit hooks
1 parent d17df4d commit 0500d40

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: ".yarn/|yarn.lock|\\.min\\.(css|js)$"
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v5.0.0
4+
rev: v6.0.0
55
hooks:
66
- id: check-added-large-files
77
- id: check-builtin-literals
@@ -14,27 +14,27 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.23.1
17+
rev: 1.25.0
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.10.0"
22+
rev: "v0.12.8"
2323
hooks:
2424
- id: ruff
2525
args: [--unsafe-fixes]
2626
- id: ruff-format
2727
- repo: https://github.com/biomejs/pre-commit
28-
rev: "v1.9.4"
28+
rev: "v2.1.4"
2929
hooks:
3030
- id: biome-check
31-
additional_dependencies: ["@biomejs/[email protected]"]
3231
args: [--unsafe]
32+
verbose: true
3333
- repo: https://github.com/tox-dev/pyproject-fmt
34-
rev: v2.5.1
34+
rev: v2.6.0
3535
hooks:
3636
- id: pyproject-fmt
3737
- repo: https://github.com/abravalheri/validate-pyproject
38-
rev: v0.24
38+
rev: v0.24.1
3939
hooks:
4040
- id: validate-pyproject

biome.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"organizeImports": {
4-
"enabled": false
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "off" } } },
64
"formatter": {
75
"enabled": true,
86
"indentStyle": "space",
@@ -19,15 +17,15 @@
1917
"noUndeclaredVariables": "error",
2018
"noUnusedImports": "error",
2119
"noUnusedVariables": "error",
22-
"useArrayLiterals": "error",
2320
"useHookAtTopLevel": "error"
2421
},
2522
"security": {
2623
"noDangerouslySetInnerHtml": "warn"
2724
},
2825
"style": {
2926
"noParameterAssign": "off",
30-
"useForOf": "warn"
27+
"useForOf": "warn",
28+
"useArrayLiterals": "error"
3129
},
3230
"suspicious": {
3331
"noArrayIndexKey": "warn",

feincms3/static/feincms3/admin.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
}
77

88
.box-drawing {
9-
display: block;
109
position: absolute;
1110
display: inline-block;
1211
font-family: monospace;
@@ -141,7 +140,6 @@
141140
}
142141

143142
.move-paste {
144-
height: auto;
145143
display: none;
146144
max-width: 6ch;
147145
height: 28px;

0 commit comments

Comments
 (0)