chore: update linters and replace black with ruff-format

This commit is contained in:
cătălin 2024-05-17 18:47:56 +02:00
commit e156ea4108
No known key found for this signature in database
3 changed files with 8 additions and 13 deletions

View file

@ -2,7 +2,7 @@ files: ^halig|tests$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
@ -19,20 +19,14 @@ repos:
args: [ --fix=lf ]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.6
rev: v0.4.4
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
pass_filenames: false
args:
- "halig"
- id: ruff-format
- repo: local
hooks: