Debian Codegraph @

.pre-commit-config.yaml

raw symbols SCIP
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 exclude: "CHANGELOG.md"
4 default_stages: [pre-commit]
5
6 ci:
7 autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
8 autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
9
10 repos:
11 - repo: https://github.com/commitizen-tools/commitizen
12 rev: v4.16.5
13 hooks:
14 - id: commitizen
15 stages: [commit-msg]
16 - repo: https://github.com/pre-commit/pre-commit-hooks
17 rev: v6.0.0
18 hooks:
19 - id: debug-statements
20 - id: check-builtin-literals
21 - id: check-case-conflict
22 - id: check-docstring-first
23 - id: check-json
24 - id: check-toml
25 - id: check-xml
26 - id: check-yaml
27 - id: detect-private-key
28 - id: end-of-file-fixer
29 - id: trailing-whitespace
30 - id: debug-statements
31 # - repo: https://github.com/pre-commit/mirrors-prettier
32 # rev: v3.1.0
33 # hooks:
34 # - id: prettier
35 - repo: https://github.com/astral-sh/ruff-pre-commit
36 rev: v0.15.22
37 hooks:
38 - id: ruff-check
39 args: [--fix]
40 - id: ruff-format
41 - repo: https://github.com/codespell-project/codespell
42 rev: v2.4.3
43 hooks:
44 - id: codespell
45 - repo: https://github.com/pre-commit/mirrors-mypy
46 rev: v2.3.0
47 hooks:
48 - id: mypy
49 - repo: https://github.com/PyCQA/bandit
50 rev: 1.9.4
51 hooks:
52 - id: bandit
53 args: [-x, tests]