Debian Codegraph @

.pre-commit-config.yaml

raw
1 repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks.git
3 rev: v6.0.0
4 hooks:
5 - id: check-merge-conflict
6 - id: check-toml
7 - id: check-yaml
8 - id: end-of-file-fixer
9 - id: trailing-whitespace
10 - repo: https://github.com/python-jsonschema/check-jsonschema
11 rev: 0.36.2
12 hooks:
13 - id: check-github-workflows
14 - id: check-dependabot
15 - id: check-readthedocs
16 - repo: https://github.com/psf/black-pre-commit-mirror
17 rev: 26.1.0
18 hooks:
19 - id: black
20 language_version: python3
21 - repo: https://github.com/PyCQA/isort
22 rev: 8.0.0
23 hooks:
24 - id: isort
25 - repo: https://github.com/asottile/pyupgrade
26 rev: v3.21.2
27 hooks:
28 - id: pyupgrade
29 args: ["--py39-plus"]
30 - repo: https://github.com/PyCQA/flake8
31 rev: 7.3.0
32 hooks:
33 - id: flake8
34 additional_dependencies:
35 - 'flake8-bugbear==25.11.29'
36 - 'flake8-comprehensions==3.17.0'
37 - 'flake8-typing-as-t==1.1.0'
38 - repo: https://github.com/sirosen/slyp
39 rev: 0.8.2
40 hooks:
41 - id: slyp
42 - repo: https://github.com/codespell-project/codespell
43 rev: v2.4.1
44 hooks:
45 - id: codespell
46 additional_dependencies:
47 - tomli
48 args:
49 - "-L"
50 - "assertIn"
51 - repo: https://github.com/tox-dev/pyproject-fmt
52 rev: v2.16.2
53 hooks:
54 - id: pyproject-fmt
55 additional_dependencies: ["tox>=4.9"]