-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
38 lines (34 loc) · 1.12 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
---
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
exclude: (.vim/(autoload|bin|black|colors|compiler|ftplugin|indent|keymap|plugin|plug|print|spell|syntax)/.+|pudb.cfg)
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: (.vim/(autoload|bin|black|colors|compiler|ftplugin|indent|keymap|plugin|plug|print|spell|syntax)/.+|pudb.cfg)
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-symlinks
- id: check-yaml
- id: check-symlinks
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/detailyang/pre-commit-shell
rev: 1.0.5
hooks:
- id: shell-lint
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear, flake8-comprehensions, flake8-bandit]
- repo: https://github.com/zricethezav/gitleaks
rev: v8.16.0
hooks:
- id: gitleaks