From 4df997e8ed6616c62e9ba6f7d6c15224ed2a3a33 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Wed, 9 Oct 2024 21:55:44 +0200 Subject: [PATCH] Migrate to 'ruff' from 'black' --- .pre-commit-config.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 591a18c..f8cf0ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,13 +16,9 @@ repos: - id: ruff args: ["--fix"] exclude: "tests/input/" - - repo: https://github.com/psf/black - rev: 24.10.0 - hooks: - - id: black - # see https://stackoverflow.com/a/61046953 + - id: ruff-format exclude: ^pylint_django/tests/input.*$ - args: [--safe, --line-length=120] + args: [--line-length=120] - repo: https://github.com/tox-dev/pyproject-fmt rev: "2.2.4" hooks: