File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ci :
3
+ autoupdate_schedule : monthly
1
4
repos :
5
+ - repo : meta
6
+ hooks :
7
+ - id : check-useless-excludes
2
8
- repo : https://github.com/pre-commit/pre-commit-hooks
3
9
rev : v5.0.0
4
10
hooks :
11
+ - id : check-added-large-files
5
12
- id : check-executables-have-shebangs
6
13
- id : check-merge-conflict
7
14
- id : check-toml
8
15
- id : check-vcs-permalinks
9
16
- id : check-yaml
10
17
- id : debug-statements
18
+ - id : detect-private-key
11
19
- id : end-of-file-fixer
20
+ - id : fix-byte-order-marker
21
+ - id : trailing-whitespace
12
22
- id : mixed-line-ending
13
23
args : [--fix, lf]
14
- - id : trailing-whitespace
15
- - repo : https://github.com/astral-sh/ruff-pre-commit
16
- rev : " v0.12.1"
17
- hooks :
18
- - id : ruff
19
- args : [--fix, --exit-non-zero-on-fix]
20
24
- repo : https://github.com/codespell-project/codespell
21
25
rev : v2.4.1
22
26
hooks :
@@ -28,9 +32,10 @@ repos:
28
32
files : \.(yaml|yml)$
29
33
types : [file, yaml]
30
34
entry : yamllint --strict
31
- - repo : https://github.com/psf/black
32
- rev : 25.1 .0
35
+ - repo : https://github.com/astral-sh/ruff-pre-commit
36
+ rev : v0.12 .0
33
37
hooks :
34
- - name : black
35
- id : black
36
- args : ["--line-length", "79"]
38
+ - id : ruff-format
39
+ alias : ruff
40
+ - id : ruff-check
41
+ alias : ruff
You can’t perform that action at this time.
0 commit comments