From 178dcfbbd82fb19699d3806036331c01cfc692ad Mon Sep 17 00:00:00 2001 From: MaximeLecardonnel6x7 Date: Fri, 10 Jan 2025 16:50:15 +0100 Subject: [PATCH 1/2] Delete restriction no commit to branch. --- .pre-commit-config.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bced5df7..437029c8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,8 +26,6 @@ repos: exclude: ^(docs/|gdocs/) - id: check-added-large-files args: ['--maxkb=500'] - - id: no-commit-to-branch - args: ['--branch', 'master', '--branch', 'develop'] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.5.2 hooks: From 0f842e5a70ca84afc7dcd4e39ee5b088a52e385d Mon Sep 17 00:00:00 2001 From: MaximeLecardonnel6x7 Date: Fri, 10 Jan 2025 16:53:45 +0100 Subject: [PATCH 2/2] Upgrade pre-commit-hooks version. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 437029c8..d0414f9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-ast - id: fix-byte-order-marker