Debian Codegraph @

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

raw
1 ---
2 repos:
3 - repo: https://github.com/ansible-network/collection_prep
4 rev: da78082ea59b03ad16cd7dbee267f53e8ff50bb5
5 hooks:
6 # - id: autoversion # removed as being handled by GHA push and release drafter
7 - id: update-docs
8
9 - repo: https://github.com/pre-commit/pre-commit-hooks
10 rev: v6.0.0
11 hooks:
12 - id: check-merge-conflict
13 - id: check-symlinks
14 - id: debug-statements
15 - id: end-of-file-fixer
16 - id: no-commit-to-branch
17 args: [--branch, main]
18 - id: trailing-whitespace
19
20 - repo: https://github.com/asottile/add-trailing-comma
21 rev: v3.2.0
22 hooks:
23 - id: add-trailing-comma
24
25 - repo: https://github.com/pycontribs/mirrors-prettier
26 rev: "v3.6.2"
27 hooks:
28 - id: prettier
29 entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec"
30 pass_filenames: false
31 args: []
32 additional_dependencies:
33 - prettier
34 - prettier-plugin-toml
35
36 - repo: https://github.com/PyCQA/isort
37 rev: 6.1.0
38 hooks:
39 - id: isort
40 name: Sort import statements using isort
41 args: ["--filter-files"]
42
43 - repo: https://github.com/psf/black
44 rev: 25.9.0
45 hooks:
46 - id: black
47
48 - repo: https://github.com/pycqa/flake8
49 rev: 7.3.0
50 hooks:
51 - id: flake8