From 7bc81589f957b71cf6faaab7df6e14885ea8becc Mon Sep 17 00:00:00 2001 From: Peter Wegmann <85115389+Bilchreis@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:31:33 +0100 Subject: [PATCH] precommit config update --- .pre-commit-config.yaml | 52 ++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 746603a..ead760d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,26 @@ -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: check-added-large-files - - id: check-yaml - - id: check-merge-conflict - - - repo: local - hooks: - - id: black - name: Run black - stages: [commit] - language: system - entry: black --check --diff src tests - types: [python] - - - id: flake8 - name: Run flake8 - stages: [commit] - language: system - entry: flake8 src tests - types: [python] - verbose: true - - +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-added-large-files + - id: check-yaml + - id: check-merge-conflict + + - repo: local + hooks: + - id: black + name: Run black + stages: [pre-commit] + language: system + entry: black --check --diff src tests + types: [python] + + - id: flake8 + name: Run flake8 + stages: [pre-commit] + language: system + entry: flake8 src tests + types: [python] + verbose: true + +