* bump ruff version & move to ruff-check * add ruff format to CI * run ruff format * fix ruff --------- Co-authored-by: sami jaghouar <sami@primeintellect.ai>
12 lines
279 B
YAML
12 lines
279 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.13.0
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff-check
|
|
args: [ --fix, --config=pyproject.toml ]
|
|
# Run the formatter.
|
|
- id: ruff-format
|
|
args: [ --config=pyproject.toml ]
|