mirror of
https://github.com/bics-rug/felice-models.git
synced 2026-03-10 05:06:02 +01:00
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>
This commit is contained in:
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
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)$
|
||||
Reference in New Issue
Block a user