Skip to content

Commit

Permalink
Update ruff hooks to format and lint with fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiders committed Feb 20, 2024
1 parent a150808 commit 94f1b54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
hooks:
# Run the linter
- id: ruff
name: ruff (rust)
args: ["--config", "pyproject.toml", "--fix"]
# Run the formatter
- id: ruff-format
name: ruff-format (rust)
args: ["--config", "pyproject.toml"]

0 comments on commit 94f1b54

Please sign in to comment.