Debian Codegraph @

.pre-commit-config.yaml

raw
1 repos:
2 - repo: https://github.com/asottile/pyupgrade
3 rev: v3.21.2
4 hooks:
5 - id: pyupgrade
6 args: ["--py38-plus"]
7
8 - repo: https://github.com/PyCQA/flake8
9 rev: 7.3.0
10 hooks:
11 - id: flake8
12
13 - repo: https://github.com/asottile/yesqa
14 rev: v1.5.0
15 hooks:
16 - id: yesqa
17 exclude: ^celery/app/task\.py$|^celery/backends/cache\.py$
18
19 - repo: https://github.com/codespell-project/codespell
20 rev: v2.4.2
21 hooks:
22 - id: codespell # See pyproject.toml for args
23 args: [--toml, pyproject.toml, --write-changes]
24 additional_dependencies:
25 - tomli
26
27 - repo: https://github.com/pre-commit/pre-commit-hooks
28 rev: v6.0.0
29 hooks:
30 - id: check-merge-conflict
31 - id: check-toml
32 - id: check-yaml
33 exclude: helm-chart/templates/
34 - id: mixed-line-ending
35
36 - repo: https://github.com/pycqa/isort
37 rev: 8.0.1
38 hooks:
39 - id: isort
40
41 - repo: https://github.com/pre-commit/mirrors-mypy
42 rev: v1.19.1
43 hooks:
44 - id: mypy
45 pass_filenames: false