Skip to content

Commit

Permalink
ci: ruff only fix imports
Browse files Browse the repository at this point in the history
(cherry picked from commit 229fc71)

# Conflicts:
#	.pre-commit-config.yaml
  • Loading branch information
ankush authored and mergify[bot] committed Apr 18, 2024
1 parent 5e2be4b commit 0e86cde
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@ repos:
rev: v0.2.0
hooks:
- id: ruff
<<<<<<< HEAD
name: "Run ruff linter and apply fixes"
args: ["--fix"]
=======
name: "Run ruff import sorter"
args: ["--select=I", "--fix"]

- id: ruff
name: "Run ruff linter"
>>>>>>> 229fc715c9 (ci: ruff only fix imports)

- id: ruff-format
name: "Format Python code"
name: "Run ruff formatter"

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
Expand Down

0 comments on commit 0e86cde

Please sign in to comment.