Files
felice-models/.pre-commit-config.yaml
F.M. Quintana Velazquez 9fabbdefc0 Initial commit
Co-authored-by: Aradhana Dube <a.dube@rug.nl>
Co-authored-by: Renzo I. Barraza Altamirano <r.i.barraza.altamirano@rug.nl>
Co-authored-by: Paolo Gibertini <p.gibertini@rug.nl>
Co-authored-by: Luca D. Fehlings <l.d.fehlings@rug.nl>
2026-02-27 17:43:31 +01:00

15 lines
411 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.6
hooks:
- id: ruff-check
args: [ --fix ]
files: ^(src|scripts|tests)/.*\.(py|ipynb)$
- id: ruff-check
name: Sort imports
args: [ --select, I, --fix ]
files: ^(src|scripts|tests)/.*\.(py|ipynb)$
- id: ruff-format
files: ^(src|scripts|tests)/.*\.(py|ipynb)$