Skip to content

Commit

Permalink
ruff vs isort
Browse files Browse the repository at this point in the history
  • Loading branch information
eevelweezel committed Nov 28, 2024
1 parent 5d1be28 commit ca905db
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ repos:
# Run the linter.
- id: ruff
args: [ --fix ]
# sort imports
- id: ruff
args: [check, --select, I, --fix]
# Run the formatter.
- id: ruff-format
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort

0 comments on commit ca905db

Please sign in to comment.