|
| 1 | +ci: |
| 2 | + autofix_prs: false |
| 3 | + autoupdate_commit_msg: 'pre-commit: bump repositories' |
| 4 | + |
| 5 | +repos: |
| 6 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 7 | + rev: v5.0.0 |
| 8 | + hooks: |
| 9 | + - id: check-added-large-files |
| 10 | + - id: check-ast |
| 11 | + - id: check-case-conflict |
| 12 | + - id: check-builtin-literals |
| 13 | + - id: check-docstring-first |
| 14 | + - id: check-executables-have-shebangs |
| 15 | + - id: check-json |
| 16 | + - id: check-merge-conflict |
| 17 | + - id: check-shebang-scripts-are-executable |
| 18 | + - id: check-symlinks |
| 19 | + - id: check-toml |
| 20 | + - id: check-vcs-permalinks |
| 21 | + - id: check-yaml |
| 22 | + - id: debug-statements |
| 23 | + - id: destroyed-symlinks |
| 24 | + - id: detect-private-key |
| 25 | + - id: double-quote-string-fixer |
| 26 | + - id: end-of-file-fixer |
| 27 | + - id: fix-byte-order-marker |
| 28 | + - id: pretty-format-json |
| 29 | + - id: sort-simple-yaml |
| 30 | + files: ^.pre-commit-config.yaml |
| 31 | + - id: trailing-whitespace |
| 32 | + - repo: https://github.com/abravalheri/validate-pyproject |
| 33 | + rev: v0.23 |
| 34 | + hooks: |
| 35 | + - id: validate-pyproject |
| 36 | + - repo: https://github.com/astral-sh/ruff-pre-commit |
| 37 | + rev: v0.8.6 |
| 38 | + hooks: |
| 39 | + - id: ruff |
| 40 | + args: [--fix, --show-fixes] |
| 41 | + - id: ruff-format |
| 42 | + - repo: https://github.com/codespell-project/codespell |
| 43 | + rev: v2.3.0 |
| 44 | + hooks: |
| 45 | + - id: codespell |
| 46 | + - repo: https://github.com/pre-commit/pygrep-hooks |
| 47 | + rev: v1.10.0 |
| 48 | + hooks: |
| 49 | + - id: python-check-blanket-noqa |
| 50 | + - id: python-check-blanket-type-ignore |
| 51 | + - id: python-check-mock-methods |
| 52 | + - id: python-no-eval |
| 53 | + - id: python-no-log-warn |
| 54 | + - id: rst-backticks |
| 55 | + - id: rst-directive-colons |
| 56 | + - id: rst-inline-touching-normal |
| 57 | + - id: text-unicode-replacement-char |
| 58 | + - repo: https://github.com/asottile/pyupgrade |
| 59 | + rev: v3.19.1 |
| 60 | + hooks: |
| 61 | + - id: pyupgrade |
| 62 | + args: [--py39-plus] |
0 commit comments