Skip to content

Commit 9288bed

Browse files
committed
We need to explicitely exclude locale/ in pre-commit for codespell due to codespell bug
ref: codespell-project/codespell#3196
1 parent ab757de commit 9288bed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,7 @@ repos:
116116
rev: v2.2.6
117117
hooks:
118118
- id: codespell
119+
exclude: |
120+
(?x)^(
121+
.*/locale/.*
122+
)$

0 commit comments

Comments
 (0)