-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
107 lines (95 loc) · 2.36 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
exclude: test_files
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
exclude: VERSION
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell.git
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/Yelp/detect-secrets.git
rev: v1.5.0
hooks:
- id: detect-secrets
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.6
hooks:
- id: gitlab-ci-linter
args:
- "--server"
- https://git.shore.co.il
- repo: https://github.com/amperser/proselint.git
rev: 0.14.0
hooks:
- id: proselint
types: [plain-text]
exclude: LICENSE
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.21
hooks:
- id: mdformat
- repo: https://github.com/ambv/black.git
rev: 24.10.0
hooks:
- id: black
args:
- |
--line-length=79
- repo: https://github.com/PyCQA/prospector.git
rev: v1.13.3
hooks:
- id: prospector
args:
- |-
--max-line-length=79
- |-
--with-tool=bandit
- |-
--without-tool=pep257
- |-
--doc-warnings
- |-
--test-warnings
- |-
--full-pep8
- |-
--strictness=high
- |-
--no-autodetect
additional_dependencies:
- bandit
- repo: https://github.com/pycqa/flake8.git
rev: 7.1.1
hooks:
- id: flake8
args:
- |-
--doctests
additional_dependencies:
- flake8-bugbear
- repo: https://github.com/pre-commit/pre-commit.git
rev: v4.0.1
hooks:
- id: validate_manifest
- repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
rev: v0.5.1
hooks:
- id: shell-validate
- repo: https://github.com/shellcheck-py/shellcheck-py.git
rev: v0.10.0.1
hooks:
- id: shellcheck