-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
51 lines (50 loc) · 1.35 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
49
50
51
minimum_pre_commit_version: 2.3.0
repos:
-
repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
-
repo: 'https://github.com/psf/black'
rev: stable
hooks:
-
id: black
-
repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v2.5.0
hooks:
-
id: trailing-whitespace
-
id: end-of-file-fixer
-
id: debug-statements
-
id: check-builtin-literals
-
id: check-toml
name: Check Toml
description: Toml file syntax errors
entry: check-toml
language: python
types:
- toml
-
id: check-yaml
name: Check Yaml
description: Yaml file syntax errors
entry: check-yaml
language: python
types:
- yaml
exclude: ^recipes/.*
-
id: check-json
name: Check JSON
description: JSON file syntax errors
entry: check-json
language: python
types:
- json