Skip to content

Commit

Permalink
Use ruff-format
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Oct 29, 2023
1 parent ea8337d commit 9cf3935
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
default_language_version:
python: python3
repos:
- repo: https://github.com/psf/black
rev: 23.9.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.287
rev: v0.1.3
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
- id: ruff-format

0 comments on commit 9cf3935

Please sign in to comment.