From d25cf4bbe8475f44c0b89e5efe4f0dc4d76656b5 Mon Sep 17 00:00:00 2001 From: Xavier Barrachina Civera Date: Thu, 11 Jul 2024 17:18:57 +0200 Subject: [PATCH] fix pcc Signed-off-by: Xavier Barrachina Civera --- .pre-commit-config.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f9055a8..f10ec5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -83,8 +83,8 @@ repos: rev: v1.35.1 hooks: - id: yamllint - args: > - [ "-d", "{rules: {line-length: {max: 120}}, + args: + ["-d", "{rules: {line-length: {max: 120}}, ignore-from-file: [.gitignore],}"] - repo: https://github.com/astral-sh/ruff-pre-commit @@ -100,8 +100,7 @@ repos: name: "create mypy cache" language: system pass_filenames: false - entry: > - bash -c 'if [ ! -d .mypy_cache ]; + entry: bash -c 'if [ ! -d .mypy_cache ]; then /bin/mkdir .mypy_cache; fi; exit 0' - repo: https://github.com/pre-commit/mirrors-mypy