Skip to content

Commit

Permalink
ci: ruff only fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored and akhilnarang committed May 21, 2024
1 parent 3b4913e commit 85b1a80
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85b1a80

Please sign in to comment.