mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-09 15:53:22 +00:00
efe5d75798
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
10 lines
328 B
YAML
10 lines
328 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.5.1
|
|
hooks:
|
|
- id: ruff # just check the code, and print the errors
|
|
- id: ruff # actually fix the fixable errors, but print nothing
|
|
args: ["--fix", "--silent"]
|
|
# Run the formatter.
|
|
- id: ruff-format |