using ruff automated formatting to avoid repeated failures

This commit is contained in:
Vaibhav159
2025-02-28 08:25:15 +05:30
parent a0a8ea1641
commit f033046963

View File

@@ -1,7 +1,8 @@
repos:
- repo: local
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.7
hooks:
- id: ruff-format-hook
name: Check ruff formatting
entry: sh scripts/pre-commit.sh
language: system
- id: ruff
language_version: python3
args: [ --select, I, ]
- id: ruff-format