From b9aed389e162417ed0afcf38808b2a0f90484580 Mon Sep 17 00:00:00 2001 From: Pokey Rule <755842+pokey@users.noreply.github.com> Date: Sat, 27 Jan 2024 10:23:47 +0000 Subject: [PATCH] Stop pre-commit from breaking our scope tests (#2206) Fixes https://github.com/cursorless-dev/cursorless/issues/2200 ## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c9863d631..3def1052da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: - id: detect-private-key - id: end-of-file-fixer exclude_types: [svg] - exclude: patches/.*\.patch + exclude: ^patches/.*\.patch$|\.scope$ - id: fix-byte-order-marker - id: forbid-submodules - id: mixed-line-ending