Skip to content

Commit

Permalink
Uses ruff formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
phschiele committed May 13, 2024
1 parent 37c6047 commit 957a786
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,11 @@ repos:
- id: check-json
- id: check-yaml

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.253'
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.4
hooks:
# Run the linter.
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]

# code formatting with black
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
language_version: python3
args:
- --line-length=100
# Run the formatter.
- id: ruff-format

0 comments on commit 957a786

Please sign in to comment.