From 6fcbf19c7cf351a8dc3517a0fed3ebfa05610de2 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 15 Sep 2023 17:08:19 -0500 Subject: [PATCH] Restore `ruff-format` hook (#52) Deleted by automation in https://github.com/astral-sh/ruff-pre-commit/commit/55147f81dc631fbb8d3d19be5a8caceff34d7ae7 --- .pre-commit-hooks.yaml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 8e18d85..3dce9c5 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,10 +1,20 @@ -- id: ruff - name: ruff - description: "Run 'ruff' for extremely fast Python linting" - entry: ruff check --force-exclude - language: python - 'types_or': [python, pyi] - args: [] - require_serial: true - additional_dependencies: [] - minimum_pre_commit_version: '2.9.2' +- id: ruff + name: ruff + description: "Run 'ruff' for extremely fast Python linting" + entry: ruff check --force-exclude + language: python + "types_or": [python, pyi] + args: [] + require_serial: true + additional_dependencies: [] + minimum_pre_commit_version: "2.9.2" +- id: ruff-format + name: ruff-format + description: "Run 'ruff format' for extremely fast Python formatting" + entry: ruff format --force-exclude + language: python + "types_or": [python, pyi] + args: [] + require_serial: true + additional_dependencies: [] + minimum_pre_commit_version: "2.9.2"