From 88c72f047043dc57617bce1a979a534ababeb134 Mon Sep 17 00:00:00 2001 From: mike8699 Date: Wed, 1 Jan 2025 21:18:50 -0500 Subject: [PATCH] Add `pre-commit-hooks` to pre-commit config --- .pre-commit-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee5c697b..705d42f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,21 @@ repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-illegal-windows-names + - id: check-json + - id: check-merge-conflict + - id: check-yaml + args: + - --allow-multiple-documents + - id: debug-statements + - id: destroyed-symlinks + - id: mixed-line-ending + - id: requirements-txt-fixer + - id: trailing-whitespace + - repo: https://github.com/pre-commit/mirrors-clang-format rev: v19.1.5 hooks: