Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
23 lines
605 B
YAML
23 lines
605 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
exclude: (mkdocs.yml|pnpm-lock.yaml)
|
|
- id: check-json
|
|
exclude: (.vscode|.devcontainer)
|
|
- id: check-toml
|
|
- id: end-of-file-fixer
|
|
exclude: ^(tests/data/|docs/docs/news/surveys/)
|
|
- id: trailing-whitespace
|
|
exclude: ^tests/data/
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.17.3
|
|
hooks:
|
|
# Linter
|
|
- id: ruff-check
|
|
args: [ --fix ]
|
|
# Formatter
|
|
- id: ruff-format
|