|
repos: |
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
rev: v4.6.0 |
|
hooks: |
|
- id: check-ast |
|
- id: check-case-conflict |
|
- id: check-json |
|
- id: check-merge-conflict |
|
- id: check-toml |
|
- id: check-yaml |
|
- id: trailing-whitespace |
|
args: [--markdown-linebreak-ext=md] |
|
- id: end-of-file-fixer |
|
- id: mixed-line-ending |
|
|
|
- repo: https://github.com/rbubley/mirrors-prettier |
|
rev: v3.2.5 |
|
hooks: |
|
- id: prettier |
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
rev: v0.4.7 |
|
hooks: |
|
- id: ruff |
|
args: [--fix, --exit-non-zero-on-fix] |
|
- id: ruff-format |
|
|