forked from oamg/convert2rhel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
47 lines (45 loc) · 1.17 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
minimum_pre_commit_version: "2.9.0"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.3
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v5.0.0"
hooks:
- id: "end-of-file-fixer"
- id: "trailing-whitespace"
- id: "check-toml"
- id: "check-yaml"
- id: "check-merge-conflict"
- repo: "https://gitlab.com/bmares/check-json5"
rev: "v1.0.0"
hooks:
- id: "check-json5"
- repo: "https://github.com/teemtee/tmt.git"
rev: "1.38.0"
hooks:
- id: "tmt-tests-lint"
verbose: false
files: ^(tests/|plans/)
- repo: https://github.com/packit/pre-commit-hooks
rev: v1.2.0
hooks:
- id: check-rebase
args:
- https://github.com/oamg/convert2rhel.git
stages: [manual, pre-push]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
hooks:
- id: gitleaks
stages: [manual, pre-push]
- repo: https://github.com/jendrikseipp/vulture
rev: v2.13
hooks:
- id: vulture