ci: ruff only fix imports

This commit is contained in:
Ankush Menat 2024-04-18 15:20:48 +05:30
parent a1bb734079
commit 229fc715c9

View file

@ -23,11 +23,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"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1