From 049a3db547e120116e53061c2c25ba6ab16b2512 Mon Sep 17 00:00:00 2001 From: Ivan Yordanov Date: Wed, 27 Sep 2023 17:09:56 +0300 Subject: [PATCH] fix(ci): deduplicate pre-commit run --- .pre-commit-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3245ebb11..4a7560c89 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,11 +10,12 @@ repos: require_serial: true # run once for all files - id: ruff-ci name: ruff-ci - entry: ruff check . - args: [ --config, pyproject.toml, --output-format, text, --no-fix] + entry: ruff + args: [ check, ".", --config, pyproject.toml, --output-format, text, --no-fix] language: system types_or: [python] require_serial: true # run once for all files + pass_filenames: false stages: [manual] - repo: local hooks: