mirror of
https://github.com/rio-labs/rio.git
synced 2025-12-16 18:25:45 -06:00
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).
16 lines
438 B
YAML
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]
|