-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (45 loc) · 1.19 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (45 loc) · 1.19 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
# priorities:
# 0 - read-only
# 1000 - mutually non-conflicting fixers
# none - other fixers
# exclude vendored files
exclude: '^(COPYING\.LESSER)$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
priority: 0
- id: check-merge-conflict
priority: 0
- id: check-vcs-permalinks
priority: 0
- id: check-yaml
priority: 0
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
name: Check spelling with codespell
priority: 0
additional_dependencies:
- tomli # Python < 3.11
- repo: meta
hooks:
- id: check-hooks-apply
priority: 0
- id: check-useless-excludes
priority: 0
- repo: local
hooks:
- id: mkmaintainer
name: Sync maintainer issue templates
priority: 1000
entry: .github/maintainer/mkmaintainer.py
files: .github/maintainer/
language: python
additional_dependencies: [PyYAML]