File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1
1
default_stages : [pre-commit]
2
2
3
3
repos :
4
+ - repo : https://github.com/pre-commit/pre-commit-hooks
5
+ rev : v4.4.0
6
+ hooks :
7
+ - id : end-of-file-fixer
8
+ name : End of file fixer
9
+ description : " Ensure files end with a newline"
10
+
11
+ - id : check-json
12
+ name : Check JSON
13
+ description : " Check that JSON files are valid"
14
+
15
+ - id : check-toml
16
+ name : Check TOML
17
+ description : " Check that TOML files are valid"
18
+
19
+ - id : check-xml
20
+ name : Check XML
21
+ description : " Check that XML files are valid"
22
+
23
+ - id : check-yaml
24
+ name : Check YAML
25
+ description : " Check that YAML files are valid"
26
+
27
+ - id : detect-private-key
28
+ name : Detect private key
29
+ description : " Detect private keys in files"
30
+
31
+ - id : trailing-whitespace
32
+ name : Trailing whitespace
33
+ description : " Remove trailing whitespace from files"
34
+
4
35
- repo : https://github.com/astral-sh/ruff-pre-commit
5
36
rev : v0.9.2
6
37
hooks :
You can’t perform that action at this time.
0 commit comments