summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 02:08:11 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 02:10:45 +0200
commitc715ae3805b71e5ec7ff1cd121425e115bc421af (patch)
tree5ce1eff0536ab36d359c1e163b70e85c1403208c /.pre-commit-config.yaml
parente132a01061dd5fc77516f36a757c331bd8b35e60 (diff)
pre-commit: Add crate to list of ignored codespell words
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d921d3d683..b764008a16 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -70,7 +70,7 @@ repos:
hooks:
- id: codespell
# ignore-regex is substituted by ' '
- entry: tools/codespell.py --ignore-regex "\\W(?:pInOut|m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))" --files
+ entry: tools/codespell.py --ignore-regex "\\W(?:[Cc]rate\\W|pInOut|m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))" --files
exclude: ^(src/dialog/dlgabout.cpp|.*\.(?:pot?|ts))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.2.0