|
a |
|
b/.pre-commit-config.yaml |
|
|
1 |
repos: |
|
|
2 |
- hooks: |
|
|
3 |
- id: black |
|
|
4 |
repo: https://github.com/psf/black |
|
|
5 |
rev: 25.1.0 |
|
|
6 |
- hooks: |
|
|
7 |
- id: isort |
|
|
8 |
repo: https://github.com/pycqa/isort |
|
|
9 |
rev: 6.0.1 |
|
|
10 |
- hooks: |
|
|
11 |
- id: flake8 |
|
|
12 |
repo: https://github.com/pycqa/flake8 |
|
|
13 |
rev: 7.1.2 |
|
|
14 |
- hooks: |
|
|
15 |
- id: bandit |
|
|
16 |
repo: https://github.com/PyCQA/bandit |
|
|
17 |
rev: 1.8.3 |
|
|
18 |
- hooks: |
|
|
19 |
- id: check-json |
|
|
20 |
- id: check-toml |
|
|
21 |
- id: end-of-file-fixer |
|
|
22 |
exclude: "output/.*\\.json$" |
|
|
23 |
- id: trailing-whitespace |
|
|
24 |
- id: check-yaml |
|
|
25 |
- id: detect-private-key |
|
|
26 |
- id: debug-statements |
|
|
27 |
- id: check-merge-conflict |
|
|
28 |
- id: check-added-large-files |
|
|
29 |
args: ["--maxkb=102400"] |
|
|
30 |
repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
31 |
rev: v5.0.0 |
|
|
32 |
- hooks: |
|
|
33 |
- id: commitizen |
|
|
34 |
- id: commitizen-branch |
|
|
35 |
stages: |
|
|
36 |
- pre-push |
|
|
37 |
repo: https://github.com/commitizen-tools/commitizen |
|
|
38 |
rev: v4.4.1 |