Skip to content

Commit

Permalink
Merge pull request #39 from thedataquarry/pre-commit-fmt
Browse files Browse the repository at this point in the history
Add cargo fmt to pre-commit
  • Loading branch information
sanders41 authored Jan 12, 2024
2 parents 1f6ca20 + 58f1a33 commit 5118ba2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ci:
skip: [fmt]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand All @@ -16,8 +19,12 @@ repos:
exclude: ".*/test_.*\\.py"
args: [--explicit-package-bases] # This is because of the mono repo type setup
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.1.13
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt

0 comments on commit 5118ba2

Please sign in to comment.