From 93bcaf216ce4dfde1592896fc2671ec20164b244 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sat, 19 Oct 2024 00:51:34 -0400 Subject: [PATCH] chore(pre-commit): simplify hooks --- .pre-commit-config.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 549ae22..68d9d28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,11 @@ repos: - id: check-toml - id: end-of-file-fixer - id: trailing-whitespace - - id: requirements-txt-fixer + - repo: https://github.com/Lucas-C/pre-commit-hooks + rev: v1.5.5 + hooks: + - id: remove-crlf + - id: remove-tabs - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt rev: 0.2.3 hooks: @@ -46,11 +50,6 @@ repos: rev: 24.8.0 hooks: - id: black - - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 - hooks: - - id: remove-crlf - - id: remove-tabs - repo: local hooks: - id: pytest-check