ci: ruff only fix imports

This commit is contained in:
Ankush Menat
2024-05-21 16:05:16 +05:30
committed by Akhil Narang
parent 3b4913ec81
commit 85b1a8001b

View File

@@ -58,12 +58,15 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
hooks:
- id: ruff
name: "Run ruff import sorter"
args: ["--select=I", "--fix"]
- id: ruff
name: "Run ruff linter"
- id: ruff-format
name: "Format Python code"
name: "Run ruff formatter"
ci:
autoupdate_schedule: weekly