From 684664d7552e3ad83b124a9a40d1754fbd24612a Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Mon, 1 Jul 2024 11:36:15 +0100 Subject: [PATCH] Update pre-commit-hooks for consistency across repositories --- .pre-commit-config.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fa27b4c..3e4444a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,18 @@ -default_install_hook_types: [pre-commit, pre-push] - repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - - id: trailing-whitespace + - id: check-added-large-files + - id: check-case-conflict + - id: check-json + - id: check-merge-conflict + - id: check-xml + - id: check-yaml - id: end-of-file-fixer + - id: forbid-submodules + - id: mixed-line-ending + - id: no-commit-to-branch + - id: trailing-whitespace - repo: https://github.com/psf/black rev: 24.4.2