Debian Codegraph @

.pre-commit-config.yaml

raw
1 ---
2 repos:
3 - repo: https://github.com/pre-commit/pre-commit-hooks
4 rev: "v5.0.0"
5 hooks:
6 - id: check-merge-conflict
7 - id: end-of-file-fixer
8 exclude: ^docs/[^/]*\.svg$
9 - id: requirements-txt-fixer
10 - id: trailing-whitespace
11 types: [python]
12 - id: check-case-conflict
13 - id: check-json
14 - id: check-xml
15 - id: check-toml
16 - id: check-xml
17 - id: check-yaml
18 - id: debug-statements
19 - id: check-added-large-files
20 - id: check-symlinks
21 - id: debug-statements
22 - id: detect-aws-credentials
23 args: ["--allow-missing-credentials"]
24 - id: detect-private-key
25 exclude: ^examples|(?:tests/ssl)/
26 - repo: https://github.com/hadialqattan/pycln
27 rev: v2.5.0
28 hooks:
29 - id: pycln
30 args: ["--all"]
31 - repo: https://github.com/asottile/yesqa
32 rev: v1.5.0
33 hooks:
34 - id: yesqa
35 - repo: https://github.com/pycqa/isort
36 rev: "6.0.1"
37 hooks:
38 - id: isort
39 args: ["--profile", "black"]
40 - repo: https://github.com/psf/black
41 rev: "25.1.0"
42 hooks:
43 - id: black
44 - repo: https://github.com/asottile/pyupgrade
45 rev: "v3.20.0"
46 hooks:
47 - id: pyupgrade
48 args: ["--py39-plus", "--keep-mock"]
49 - repo: https://github.com/hhatto/autopep8
50 rev: "v2.3.2"
51 hooks:
52 - id: autopep8
53 - repo: https://github.com/PyCQA/flake8
54 rev: "7.2.0"
55 hooks:
56 - id: flake8
57 exclude: "^docs/"
58 - repo: https://github.com/Lucas-C/pre-commit-hooks-markup
59 rev: "v1.0.1"
60 hooks:
61 - id: rst-linter
62 files: ^[^/]+[.]rst$
63 - repo: https://github.com/adrienverge/yamllint
64 rev: "v1.37.1"
65 hooks:
66 - id: yamllint