| 1 |
--- |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
fail_fast: true |
| 10 |
repos: |
| 11 |
- hooks: |
| 12 |
- id: commitizen |
| 13 |
stages: |
| 14 |
- commit-msg |
| 15 |
repo: https://github.com/commitizen-tools/commitizen |
| 16 |
rev: v3.14.1 |
| 17 |
- hooks: |
| 18 |
- id: check-useless-excludes |
| 19 |
repo: meta |
| 20 |
- hooks: |
| 21 |
- files: \.(css|js|md|markdown|json) |
| 22 |
id: prettier |
| 23 |
repo: https://github.com/pre-commit/mirrors-prettier |
| 24 |
rev: v4.0.0-alpha.8 |
| 25 |
- hooks: |
| 26 |
- id: seed-isort-config |
| 27 |
repo: https://github.com/asottile/seed-isort-config |
| 28 |
rev: v2.2.0 |
| 29 |
- hooks: |
| 30 |
- id: isort |
| 31 |
repo: https://github.com/pre-commit/mirrors-isort |
| 32 |
rev: v5.10.1 |
| 33 |
- hooks: |
| 34 |
- id: black |
| 35 |
repo: https://github.com/python/black |
| 36 |
rev: 24.2.0 |
| 37 |
- hooks: |
| 38 |
- id: check-added-large-files |
| 39 |
- id: check-ast |
| 40 |
- id: check-case-conflict |
| 41 |
- id: check-executables-have-shebangs |
| 42 |
- id: check-json |
| 43 |
- id: check-merge-conflict |
| 44 |
- id: check-symlinks |
| 45 |
- id: check-vcs-permalinks |
| 46 |
- id: debug-statements |
| 47 |
- id: check-xml |
| 48 |
- args: |
| 49 |
- --unsafe |
| 50 |
id: check-yaml |
| 51 |
- id: end-of-file-fixer |
| 52 |
- id: forbid-new-submodules |
| 53 |
- args: |
| 54 |
- --branch |
| 55 |
- gh-pages |
| 56 |
id: no-commit-to-branch |
| 57 |
- id: requirements-txt-fixer |
| 58 |
- id: sort-simple-yaml |
| 59 |
- id: trailing-whitespace |
| 60 |
exclude: docker |
| 61 |
- id: mixed-line-ending |
| 62 |
- id: detect-private-key |
| 63 |
- id: check-byte-order-marker |
| 64 |
- id: check-docstring-first |
| 65 |
repo: https://github.com/pre-commit/pre-commit-hooks |
| 66 |
rev: v4.5.0 |
| 67 |
- hooks: |
| 68 |
- id: flake8 |
| 69 |
repo: https://github.com/pycqa/flake8 |
| 70 |
rev: 7.0.0 |
| 71 |
- repo: https://github.com/scop/pre-commit-shfmt |
| 72 |
rev: v3.8.0-1 |
| 73 |
hooks: |
| 74 |
|
| 75 |
- id: shfmt |
| 76 |
args: |
| 77 |
- -w |
| 78 |
- -i |
| 79 |
- "2" |
| 80 |
- -s |
| 81 |
|
| 82 |
types: |
| 83 |
- shell |
| 84 |
- hooks: |
| 85 |
- id: blacken-docs |
| 86 |
repo: https://github.com/asottile/blacken-docs |
| 87 |
rev: 1.16.0 |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt |
| 96 |
rev: 0.2.3 |
| 97 |
hooks: |
| 98 |
- id: yamlfmt |
| 99 |
args: [--mapping, '2', --sequence, '4', --offset, '2', '--preserve-quotes'] |
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|