|
| 1 | +--- |
| 2 | +repos: |
| 3 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 4 | + rev: v4.3.0 |
| 5 | + hooks: |
| 6 | + - id: check-added-large-files |
| 7 | + - id: fix-byte-order-marker |
| 8 | + - id: check-case-conflict |
| 9 | + - id: check-shebang-scripts-are-executable |
| 10 | + - id: check-merge-conflict |
| 11 | + - id: trailing-whitespace |
| 12 | + - id: mixed-line-ending |
| 13 | + - id: end-of-file-fixer |
| 14 | + - id: detect-private-key |
| 15 | + - id: check-symlinks |
| 16 | + - id: check-ast |
| 17 | + - id: debug-statements |
| 18 | + - id: requirements-txt-fixer |
| 19 | + - id: check-xml |
| 20 | + - id: check-yaml |
| 21 | + - id: check-toml |
| 22 | + - id: check-json |
| 23 | + - repo: https://github.com/Lucas-C/pre-commit-hooks |
| 24 | + rev: v1.3.1 |
| 25 | + hooks: |
| 26 | + - id: remove-crlf |
| 27 | + - repo: https://github.com/codespell-project/codespell |
| 28 | + rev: v2.2.2 |
| 29 | + hooks: |
| 30 | + - id: codespell |
| 31 | + additional_dependencies: |
| 32 | + - tomli |
| 33 | + - repo: https://github.com/jorisroovers/gitlint |
| 34 | + rev: v0.17.0 |
| 35 | + hooks: |
| 36 | + - id: gitlint |
| 37 | + args: |
| 38 | + - --msg-filename |
| 39 | + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python |
| 40 | + rev: 2.6.1 |
| 41 | + hooks: |
| 42 | + - id: editorconfig-checker |
| 43 | + - repo: https://github.com/jumanjihouse/pre-commit-hooks |
| 44 | + rev: 3.0.0 |
| 45 | + hooks: |
| 46 | + - id: check-mailmap |
| 47 | + - id: shellcheck |
| 48 | + - id: shfmt |
| 49 | + - repo: https://github.com/adrienverge/yamllint |
| 50 | + rev: v1.28.0 |
| 51 | + hooks: |
| 52 | + - id: yamllint |
| 53 | + - repo: https://github.com/executablebooks/mdformat |
| 54 | + rev: 0.7.16 |
| 55 | + hooks: |
| 56 | + - id: mdformat |
| 57 | + args: |
| 58 | + - --number |
| 59 | + additional_dependencies: |
| 60 | + - mdformat-gfm |
| 61 | + - mdformat-myst |
| 62 | + - mdformat-tables |
| 63 | + - mdformat-toc |
| 64 | + - mdformat-footnote |
| 65 | + - mdformat-frontmatter |
| 66 | + - mdformat-deflist |
| 67 | + - mdformat-beautysh |
| 68 | + - mdformat-black |
| 69 | + - mdformat-config |
| 70 | + - repo: https://github.com/DavidAnson/markdownlint-cli2 |
| 71 | + rev: v0.5.1 |
| 72 | + hooks: |
| 73 | + - id: markdownlint-cli2 |
| 74 | + additional_dependencies: |
| 75 | + |
| 76 | + - repo: https://github.com/psf/black |
| 77 | + rev: 22.10.0 |
| 78 | + hooks: |
| 79 | + - id: black |
| 80 | + - repo: https://github.com/PyCQA/isort |
| 81 | + rev: 5.10.1 |
| 82 | + hooks: |
| 83 | + - id: isort |
| 84 | + - repo: https://github.com/pycqa/pydocstyle |
| 85 | + rev: 6.1.1 |
| 86 | + hooks: |
| 87 | + - id: pydocstyle |
| 88 | + additional_dependencies: |
| 89 | + - toml |
| 90 | + - repo: https://github.com/kumaraditya303/mirrors-pyright |
| 91 | + rev: v1.1.278 |
| 92 | + hooks: |
| 93 | + - id: pyright |
| 94 | + - repo: https://github.com/PyCQA/bandit |
| 95 | + rev: 1.7.4 |
| 96 | + hooks: |
| 97 | + - id: bandit |
| 98 | + args: |
| 99 | + - -cpyproject.toml |
| 100 | + additional_dependencies: |
| 101 | + - toml |
| 102 | + |
| 103 | +ci: |
| 104 | + skip: |
| 105 | + - shellcheck |
| 106 | + - shfmt |
| 107 | + - pyright |
0 commit comments