-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.pre-commit-config.yaml
48 lines (41 loc) · 1.01 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/thibaudcolas/curlylint
rev: "v0.13.1"
hooks:
- id: curlylint
types: [ file ]
files: \.html$
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args: [ "--py310-plus" ]
- repo: https://github.com/rtts/djhtml
rev: '3.0.7'
hooks:
- id: djhtml
- id: djcss
- id: djjs
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.22.2
hooks:
- id: django-upgrade
args: [ --target-version, "4.1" ]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.8.2'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/adamchainz/djade-pre-commit
rev: '1.3.2'
hooks:
- id: djade
args: [--target-version, "5.1"]