From 2785de820348bdd3465cfe0c144bb15377aa36a7 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 27 Oct 2023 21:00:27 +0200 Subject: [PATCH] Regex not glob --- .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 b9026609b..cc2719bb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,4 +31,4 @@ repos: hooks: - id: codespell args: ["-L newyorker"] - exclude: '^(poetry\.lock|log-viewer/*|tests/retrievers/test_document_index\.py)$' + exclude: '^(poetry\.lock|log-viewer/.*|tests/retrievers/test_document_index\.py)$'