| 1 |
|
| 2 |
|
| 3 |
exclude: "CHANGELOG.md" |
| 4 |
default_stages: [pre-commit] |
| 5 |
|
| 6 |
ci: |
| 7 |
autofix_commit_msg: "chore(pre-commit.ci): auto fixes" |
| 8 |
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate" |
| 9 |
|
| 10 |
repos: |
| 11 |
- repo: https://github.com/commitizen-tools/commitizen |
| 12 |
rev: v4.18.0 |
| 13 |
hooks: |
| 14 |
- id: commitizen |
| 15 |
stages: [commit-msg] |
| 16 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 17 |
rev: v6.0.0 |
| 18 |
hooks: |
| 19 |
- id: debug-statements |
| 20 |
- id: check-builtin-literals |
| 21 |
- id: check-case-conflict |
| 22 |
- id: check-docstring-first |
| 23 |
- id: check-json |
| 24 |
- id: check-toml |
| 25 |
- id: check-xml |
| 26 |
- id: check-yaml |
| 27 |
- id: detect-private-key |
| 28 |
- id: end-of-file-fixer |
| 29 |
- id: trailing-whitespace |
| 30 |
- id: debug-statements |
| 31 |
- repo: https://github.com/pre-commit/mirrors-prettier |
| 32 |
rev: v4.0.0-alpha.8 |
| 33 |
hooks: |
| 34 |
- id: prettier |
| 35 |
args: ["--tab-width", "2"] |
| 36 |
- repo: https://github.com/astral-sh/ruff-pre-commit |
| 37 |
rev: v0.16.4 |
| 38 |
hooks: |
| 39 |
- id: ruff |
| 40 |
args: [--fix, --exit-non-zero-on-fix] |
| 41 |
- id: ruff-format |
| 42 |
- repo: https://github.com/codespell-project/codespell |
| 43 |
rev: v2.4.3 |
| 44 |
hooks: |
| 45 |
- id: codespell |
| 46 |
- repo: https://github.com/pre-commit/mirrors-mypy |
| 47 |
rev: v2.3.1 |
| 48 |
hooks: |
| 49 |
- id: mypy |
| 50 |
additional_dependencies: [] |