-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpre-commit-config.yaml
More file actions
44 lines (39 loc) · 1.14 KB
/
pre-commit-config.yaml
File metadata and controls
44 lines (39 loc) · 1.14 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
exclude: '^(simulation/pallet_truck/|simulation/scenario_manager/|internal/|camera_utility/extrinsic/|camera_utility/intrinsic|build/|install/|log/|.*\.pgm|.*\.xacro|.*\.ipynb|.*\.rst)'
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-symlinks
- id: destroyed-symlinks
- id: check-ast
- id: check-json
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: check-added-large-files
args: ['--maxkb=5120']
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
args: ["--ignore-words=.codespell.ignore"]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
exclude: '(^|/)PRESENTATION\.md$'