From 2ab225769dfae691317a584c07f01a83b58ce4fd Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 12 Jan 2026 15:35:45 -0500 Subject: [PATCH] fix(infra): exclude `.ambr` files from trailing whitespace check (#34723) --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c32827a5dc..920e2f4665 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ repos: - id: check-toml # validate TOML syntax - id: end-of-file-fixer # ensure files end with a newline - id: trailing-whitespace # remove trailing whitespace from lines + exclude: \.ambr$ # Text normalization hooks for consistent formatting - repo: https://github.com/sirosen/texthooks