-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (46 loc) · 1.2 KB
/
.pre-commit-config.yaml
File metadata and controls
52 lines (46 loc) · 1.2 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
46
47
48
49
50
51
52
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
exclude: 'heatmap\.html$'
- id: check-merge-conflict
- id: check-toml
- id: check-json
- id: detect-private-key
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
hooks:
- id: actionlint
- repo: https://github.com/psf/black
rev: 25.11.0
hooks:
- id: black
language_version: python3.12
- repo: https://github.com/pycqa/isort
rev: 7.0.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.8
hooks:
- id: ruff
args: ["--fix"]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: local
hooks:
- id: lychee
name: lychee
entry: /Users/jeder/.cargo/bin/lychee
args: ['--config', 'lychee.toml', '--verbose']
language: system
files: \.(md|html)$
pass_filenames: true