mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-05 12:35:35 -04:00
22 lines
534 B
YAML
22 lines
534 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
exclude: "mkdocs.yml"
|
|
- id: check-json
|
|
exclude: (.vscode|.devcontainer)
|
|
- id: check-toml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
exclude: ^tests/data/
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.15.7
|
|
hooks:
|
|
# Linter
|
|
- id: ruff-check
|
|
args: [ --fix ]
|
|
# Formatter
|
|
- id: ruff-format
|