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: repos:
- repo: local - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.7
hooks: hooks:
- id: ruff-format-hook - id: ruff
name: Check ruff formatting language_version: python3
entry: sh scripts/pre-commit.sh args: [ --select, I, ]
language: system - id: ruff-format