mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-22 11:33:57 +03:00
25 lines
611 B
YAML
25 lines
611 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.4.0
|
||
|
hooks:
|
||
|
- id: check-added-large-files
|
||
|
- id: check-toml
|
||
|
- id: check-yaml
|
||
|
- id: end-of-file-fixer
|
||
|
- id: trailing-whitespace
|
||
|
# Check poetry state
|
||
|
- repo: https://github.com/python-poetry/poetry
|
||
|
rev: "1.5.1"
|
||
|
hooks:
|
||
|
- id: poetry-check
|
||
|
args: ["-C", "./backend"]
|
||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
# Ruff version.
|
||
|
rev: v0.4.8
|
||
|
hooks:
|
||
|
# Run the linter.
|
||
|
- id: ruff
|
||
|
args: [--fix]
|
||
|
# Run the formatter.
|
||
|
- id: ruff-format
|