Skip to content

Commit

Permalink
chore: ruff format instead of black
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Sep 26, 2024
1 parent f404ac8 commit 922dd05
Show file tree
Hide file tree
Showing 6 changed files with 601 additions and 650 deletions.
13 changes: 5 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
rev: v9.16.0
hooks:
- id: commitlint
stages: [commit-msg]
args: ["--config", ".commitlint.config.js"]
additional_dependencies: ['@commitlint/config-conventional']
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
stages: [commit]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
rev: v0.6.8
hooks:
- id: ruff
stages: [commit]
args: [--fix, --exit-non-zero-on-fix]
args: ["--fix", "--exit-non-zero-on-fix"]
- id: ruff-format
stages: [commit]
Loading

0 comments on commit 922dd05

Please sign in to comment.