Files
flux2/.pre-commit-config.yaml
2025-11-25 07:25:25 -08:00

23 lines
546 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.8
hooks:
# Run the linter.
- id: ruff
types_or: [python, pyi]
args: [--fix]
# Run isort
- id: ruff
types_or: [python, pyi]
name: ruff-isort
args: [--select, "I", --fix]
# Run the formatter.
- id: ruff-format
types_or: [python, pyi]
- repo: https://github.com/google/yamlfmt
rev: v0.10.0
hooks:
- id: yamlfmt
args: [--conf, .yamlfmt.yaml]