Update .pre-commit-config.yaml

master
Fabio Caccamo 2023-04-20 13:09:03 +02:00
parent 3d0930bf56
commit cacae6eb73
1 changed files with 7 additions and 6 deletions

View File

@ -14,10 +14,11 @@ repos:
- id: django-upgrade - id: django-upgrade
args: ["--target-version", "3.2"] args: ["--target-version", "3.2"]
- repo: https://github.com/psf/black - repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 23.3.0 rev: v0.0.262
hooks: hooks:
- id: black - id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.12.0 rev: 5.12.0
@ -25,10 +26,10 @@ repos:
- id: isort - id: isort
args: ["--profile", "black"] args: ["--profile", "black"]
- repo: https://github.com/charliermarsh/ruff-pre-commit - repo: https://github.com/psf/black
rev: v0.0.262 rev: 23.3.0
hooks: hooks:
- id: ruff - id: black
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 rev: v4.4.0