File tree 1 file changed +19
-16
lines changed
1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
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
3
9
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v4.5 .0
10
+ rev : v4.6 .0
5
11
hooks :
6
12
- id : fix-byte-order-marker
7
13
- id : trailing-whitespace
14
+ exclude : " \\ .svg$|\\ .map$|\\ .min\\ .css$|\\ .min\\ .js$|\\ .po$|\\ .pot$"
8
15
- id : end-of-file-fixer
16
+ exclude : " \\ .svg$|\\ .map$|\\ .min\\ .css$|\\ .min\\ .js$|\\ .po$|\\ .pot$"
9
17
- 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"
17
20
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"]
26
24
- repo : https://github.com/PyCQA/docformatter
27
25
rev : v1.7.5
28
26
hooks :
29
27
- id : docformatter
28
+ - repo : https://github.com/asottile/pyupgrade
29
+ rev : v3.15.2
30
+ hooks :
31
+ - id : pyupgrade
32
+ args : ["--py39-plus"]
30
33
- repo : https://github.com/rtts/djhtml
31
34
rev : 3.0.6
32
35
hooks :
You can’t perform that action at this time.
0 commit comments