Debian Codegraph @

ansible_collections/cisco/iosxr/.pre-commit-config.yaml

raw symbols SCIP
1 ---
2 ci:
3 # format compatible with commitlint
4 autoupdate_commit_msg: "chore: pre-commit autoupdate"
5 autoupdate_schedule: monthly
6 autofix_commit_msg: "chore: auto fixes from pre-commit.com hooks"
7
8 repos:
9 - repo: https://github.com/ansible-network/collection_prep
10 rev: da78082ea59b03ad16cd7dbee267f53e8ff50bb5
11 hooks:
12 - id: update-docs
13
14 - repo: https://github.com/pre-commit/pre-commit-hooks
15 rev: v6.0.0
16 hooks:
17 - id: check-merge-conflict
18 - id: check-symlinks
19 - id: debug-statements
20 - id: end-of-file-fixer
21 - id: no-commit-to-branch
22 args: [--branch, main]
23 - id: trailing-whitespace
24
25 - repo: https://github.com/asottile/add-trailing-comma
26 rev: v3.2.0
27 hooks:
28 - id: add-trailing-comma
29
30 - repo: https://github.com/pre-commit/mirrors-prettier
31 rev: "v4.0.0-alpha.8"
32 hooks:
33 - id: prettier
34 entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec"
35 pass_filenames: false
36 args: []
37 additional_dependencies:
38 - prettier
39 - prettier-plugin-toml
40
41 - repo: https://github.com/PyCQA/isort
42 rev: 6.1.0
43 hooks:
44 - id: isort
45 name: Sort import statements using isort
46 args: ["--filter-files"]
47
48 - repo: https://github.com/psf/black-pre-commit-mirror
49 rev: 25.9.0
50 hooks:
51 - id: black
52
53 - repo: https://github.com/pycqa/flake8
54 rev: 7.3.0
55 hooks:
56 - id: flake8