Add Ruff formater in pre-hook

This commit is contained in:
nicolargo 2026-01-03 09:25:27 +01:00
parent d97c5cd5b9
commit fa9bb2cdab
1 changed files with 5 additions and 1 deletions

View File

@ -6,8 +6,12 @@ repos:
name: "🔒 security · Detect hardcoded secrets"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.1
rev: v0.14.10
hooks:
- id: ruff-format
name: "🐍 python · Formatter with Ruff"
types_or: [ python, pyi ]
args: [ --config, './pyproject.toml' ]
- id: ruff-check
name: "🐍 python · Linter with Ruff"
types_or: [ python, pyi ]