Fix: Add missing Python module dependency "munch" causing cleanup job failures
[releng/lftools.git] / .pre-commit-config.yaml
1 ---
2 repos:
3   ###########
4   # General #
5   ###########
6
7   - repo: https://github.com/pre-commit/pre-commit-hooks
8     rev: v4.5.0
9     hooks:
10       - id: trailing-whitespace
11
12   - repo: https://github.com/jorisroovers/gitlint
13     rev: v0.19.1
14     hooks:
15       - id: gitlint
16
17   ##########
18   # Python #
19   ##########
20
21   - repo: https://github.com/ambv/black
22     rev: 24.1.1
23     hooks:
24     - id: black
25
26   - repo: https://github.com/PyCQA/isort
27     rev: 5.13.2
28     hooks:
29       - id: isort
30
31   - repo: https://github.com/PyCQA/flake8
32     rev: 7.0.0
33     hooks:
34       - id: flake8
35         args: ["--max-line-length=120"]
36
37   - repo: https://github.com/pre-commit/mirrors-mypy
38     rev: v1.8.0
39     hooks:
40       - id: mypy
41         additional_dependencies:
42           - types-tabulate
43           - types-requests
44           - types-six
45           - types-PyYAML