-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (41 loc) · 1.05 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
45 lines (41 loc) · 1.05 KB
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: \.txt$
- id: trailing-whitespace # Remove trailing whitespaces
- id: check-merge-conflict
- id: check-added-large-files
args: [--maxkb=2000]
- id: detect-private-key
- id: sort-simple-yaml
# Fix common spelling mistakes
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: []
types_or: [rust, markdown]
#files: ^(src||tests)/
- repo: https://github.com/lovesegfault/beautysh
rev: v6.4.2
hooks:
- id: beautysh
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/nix-community/nixpkgs-fmt
rev: v1.3.0
hooks:
- id: nixpkgs-fmt
- repo: local
hooks:
- id: check-steps-md
name: Check steps.md structure
entry: scripts/check_steps_md.py
language: system
files: ^steps\.md$