Skip to content

Commit

Permalink
Changed order of ruff actions in precommit, now format is the first…
Browse files Browse the repository at this point in the history
… because `format` action fix some linters errors like `unsorted imports`
  • Loading branch information
nesb1 committed Jan 29, 2025
1 parent 2bc4b26 commit ab9012b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ repos:
# Ruff version.
rev: v0.6.9
hooks:
# Run the formatter.
- id: ruff-format
# Run the linter.
- id: ruff
args: ["--fix", "--show-fixes"]
# Run the formatter.
- id: ruff-format

0 comments on commit ab9012b

Please sign in to comment.