From 663cef4a4b73a13c36b3328b6f0367e4a6ee80df Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Thu, 22 Jan 2026 15:31:47 -0500 Subject: [PATCH] Exclude Pipfile.lock from pretty-format-json pre-commit hook We will simply let pipenv format those files however it wants; we don't care about prettifying them since they are for the most part only read by machines. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c8d0e3..599560b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,6 +40,8 @@ repos: - id: pretty-format-json args: - --autofix + # Exclude all Pipfile.lock files + exclude: .*/Pipfile\.lock$ - id: requirements-txt-fixer - id: trailing-whitespace