Skip to content

Commit

Permalink
chore: Add 'types' field to pre-commit hooks for ruff check and format (
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz authored Oct 3, 2024
1 parent ed7ec6a commit 4519f9f
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
@@ -1,4 +1,3 @@
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
Expand All @@ -18,7 +17,9 @@ repos:
name: ruff check
language: system
entry: bash -c "uv run ruff check"
types: [file, python]
- id: ruff-format
name: ruff format
language: system
entry: bash -c "uv run ruff format"
entry: bash -c "uv run ruff format"
types: [file, python]

0 comments on commit 4519f9f

Please sign in to comment.