forked from google/copr-sundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
50 lines (50 loc) · 1.34 KB
/
.pre-commit-config.yaml
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
# SPDX-FileCopyrightText: Google Inc
# SPDX-FileCopyrightText: 2024 Vladimir Rusinov <[email protected]>
# SPDX-License-Identifier: Apache-2.0
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: '\.patch$'
- id: end-of-file-fixer
exclude: '\.patch$'
- id: check-yaml
- id: check-added-large-files
- repo: local
hooks:
# TODO: replace this with individual hooks
- id: local-pre-commit
name: run old pre-commit script
language: system
entry: hooks/pre-commit
files: ^.*$
- repo: https://github.com/crate-ci/typos
rev: v1.26.0
hooks:
- id: typos
- repo: https://github.com/fsfe/reuse-tool
rev: "v5.0.2"
hooks:
- id: reuse-lint-file
- repo: https://github.com/amperser/proselint
rev: "0.12.0"
hooks:
- id: proselint
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/markdownlint/markdownlint.git
rev: v0.12.0
hooks:
- id: markdownlint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint
- repo: https://github.com/rpm-software-management/rpmlint
rev: 2.6.1
hooks:
- id: rpmlint