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 name: Enforce Python 3.9+ idioms
7 args: ["--py39-plus"]
8
9 - repo: https://github.com/asottile/blacken-docs
10 rev: 1.20.0
11 hooks:
12 - id: blacken-docs
13 args: ["--target-version=py39"]
14
15 - repo: https://github.com/pre-commit/pre-commit-hooks
16 rev: v6.0.0
17 hooks:
18 - id: trailing-whitespace
19 - id: end-of-file-fixer
20 - id: debug-statements
21
22 - repo: https://github.com/mgedmin/check-manifest
23 rev: "0.51"
24 hooks:
25 - id: check-manifest
26 args: [--no-build-isolation]
27
28 - repo: https://github.com/abravalheri/validate-pyproject
29 rev: "0.26"
30 hooks:
31 - id: validate-pyproject
32
33 - repo: https://github.com/kieran-ryan/pyprojectsort
34 rev: "v0.4.0"
35 hooks:
36 - id: pyprojectsort
37
38 - repo: https://github.com/python-jsonschema/check-jsonschema
39 rev: "0.38.0"
40 hooks:
41 - id: check-github-workflows
42 - id: check-readthedocs
43
44 - repo: https://github.com/regebro/pyroma
45 rev: "5.1b1"
46 hooks:
47 - id: pyroma
48
49 - repo: https://github.com/astral-sh/ruff-pre-commit
50 # Ruff version.
51 rev: v0.16.6
52 hooks:
53 # Run the linter.
54 - id: ruff
55 args: [ --fix ]
56 # Run the formatter.
57 - id: ruff-format