-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
43 lines (38 loc) · 944 Bytes
/
.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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
types:
- python
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
types:
- python
- repo: https://github.com/pycqa/bandit
rev: 1.7.8
hooks:
- id: bandit
args: ["-c", "pyproject.toml", "-ll"]
files: .py$
- repo: local
hooks:
- id: conventional-pre-commit
name: Conventional Commit (local)
entry: conventional-pre-commit
language: python
stages: [commit-msg]
- repo: https://github.com/mrtazz/checkmake.git
rev: 0.2.2
hooks:
# Use this hook to let pre-commit build checkmake in its sandbox
- id: checkmake