-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (34 loc) · 980 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (34 loc) · 980 Bytes
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
# yamllint disable rule:indentation
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
name: Trim Trailing Whitespace
args: [--markdown-linebreak-ext=md]
exclude: ^.*/merge\.sh$
- id: end-of-file-fixer
name: End Of File Fixer
exclude: ^.*/merge\.sh$
- id: check-yaml
name: Check YAML
args: ["--unsafe"]
- id: check-json
name: Check JSON
exclude: ^\.config/nvim/coc-settings\.json$
- id: check-merge-conflict
name: Check Merge Conflict
- id: check-case-conflict
name: Check Case Conflict
exclude: ^.*/merge\.sh$
- id: mixed-line-ending
name: Mixed Line Ending
args: ["--fix=lf"]
exclude: ^.*/merge\.sh$
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
name: Python Black
language_version: python3