From c7fd9a7840ddd23120a94821e8d825a4efa2a0f4 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 17 Oct 2024 20:03:09 +0200 Subject: [PATCH] Update .pre-commit-config.yaml fix cmake-lint config --- .pre-commit-config.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4869c66386..ae4d570152 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -33,7 +33,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black @@ -54,10 +54,11 @@ repos: exclude: CHANGELOG.rst - repo: https://github.com/cheshirekow/cmake-format-precommit - rev: v0.6.11 + rev: v0.6.13 hooks: - id: cmake-format - id: cmake-lint - args: - - "--disabled-codes=C0301" # Disable Line too long lint - - "--suppress-decorations" + args: [--disabled-codes=C0301, # Disable Line too long lint + --disabled-codes=C0307, # Disable Bad indentation + --suppress-decorations + ]