Files
rio/.pre-commit-config.yaml
Jakob Pinterits 51cbcf9d18 update pre-commit hooks
This commit updates the ruff pre-commit hook to the latest version. It
also **downgrades** prettier to the latest supported stable version
(from using an alpha) as the configured alpha was causing memory
exhaustion on some systems (>40GiB RAM usage).
2025-10-11 13:47:21 +02:00

16 lines
438 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.0
hooks:
- id: ruff-check
args: [--select, F401, --select, I, --fix]
- id: ruff-format
args: [--config, pyproject.toml]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
exclude: '\.md$'
args: [--config, .prettierrc]