Skip to content

Commit

Permalink
Use ruff for imports and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Sep 30, 2024
1 parent 059fd94 commit 597623f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ repos:
args:
- --fix=lf
- id: trailing-whitespace
- repo: local
hooks:
- id: ruff-check
name: ruff check
language: system
entry: bash -c "uv run ruff check"
- id: ruff-format
name: ruff format
language: system
entry: bash -c "uv run ruff format"

0 comments on commit 597623f

Please sign in to comment.