Ruff formatting

This commit is contained in:
Colin Maudry
2025-06-03 14:39:22 +02:00
parent c8b2cc3683
commit 21f0be3265
+8 -11
View File
@@ -2,23 +2,20 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
args: [ --config=pyproject.toml ]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black-jupyter
args: [ --config=pyproject.toml ]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
files: \.(js|css|html|json|md)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.12
hooks:
- id: ruff
files: "^backend/"
- id: ruff
args: [ "check", "--select", "I", "--fix" ]
- id: ruff-format