Skip to content

Commit 06ed9c4

Browse files
committed
chore: pre-commit autoupdate
1 parent a1a09e6 commit 06ed9c4

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

.pre-commit-config.yaml

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
---
22
repos:
3+
- repo: https://github.com/astral-sh/ruff-pre-commit
4+
rev: 'v0.4.1'
5+
hooks:
6+
- id: ruff
7+
args: [--fix, --exit-non-zero-on-fix]
8+
- id: ruff-format
39
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
10+
rev: v4.6.0
511
hooks:
612
- id: fix-byte-order-marker
713
- id: trailing-whitespace
14+
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
815
- id: end-of-file-fixer
16+
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
917
- id: check-toml
10-
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.15.0
12-
hooks:
13-
- id: pyupgrade
14-
args: ["--py39-plus"]
15-
- repo: https://github.com/asottile/reorder_python_imports
16-
rev: v3.12.0
18+
- repo: https://github.com/pycqa/isort
19+
rev: "5.13.2"
1720
hooks:
18-
- id: reorder-python-imports
19-
args: ["--application-directories", "canaille"]
20-
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: 'v0.1.9'
22-
hooks:
23-
- id: ruff
24-
args: [--fix, --exit-non-zero-on-fix]
25-
- id: ruff-format
21+
- id: isort
22+
name: isort (python)
23+
args: ["--force-single-line-imports", "--profile", "black"]
2624
- repo: https://github.com/PyCQA/docformatter
2725
rev: v1.7.5
2826
hooks:
2927
- id: docformatter
28+
- repo: https://github.com/asottile/pyupgrade
29+
rev: v3.15.2
30+
hooks:
31+
- id: pyupgrade
32+
args: ["--py39-plus"]
3033
- repo: https://github.com/rtts/djhtml
3134
rev: 3.0.6
3235
hooks:

0 commit comments

Comments
 (0)