forked from oamg/convert2rhel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
58 lines (57 loc) · 1.5 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
51
52
53
54
55
56
57
58
minimum_pre_commit_version: "2.9.0"
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
types: [python]
language: python
language_version: "python3"
additional_dependencies: [click==7.1.2, black==21.12b0]
- repo: https://github.com/pylint-dev/pylint
rev: v3.1.0
hooks:
- id: pylint
args: [
"-sn", # Don't display the score
"--rcfile=.pylintrc", # Link to your config file
]
- repo: "https://github.com/timothycrosley/isort"
rev: 5.13.2
hooks:
- id: isort
additional_dependencies: [toml]
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.5.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.32.1"
hooks:
- id: "tmt-tests-lint"
verbose: false
- 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, push]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
stages: [manual, push]
- repo: https://github.com/jendrikseipp/vulture
rev: v2.11
hooks:
- id: vulture