Skip to content

Commit

Permalink
feat: Add pre-commit hook for ruff (langflow-ai#3960)
Browse files Browse the repository at this point in the history
Add pre-commit hook
  • Loading branch information
cbornet authored and diogocabral committed Nov 26, 2024
1 parent 57ebf2e commit 306ab62
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 306ab62

Please sign in to comment.