summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 03:37:44 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 03:38:36 +0200
commitf957133e5080712501b19d3628387abead5072b6 (patch)
tree55fdc6d7bf613ea59963dab9295bea5d5cc5b360 /.pre-commit-config.yaml
parentc715ae3805b71e5ec7ff1cd121425e115bc421af (diff)
pre-commit: Move codespell terms to ignore into .codespellignore file
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b764008a16..c0bd509486 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -70,8 +70,8 @@ repos:
hooks:
- id: codespell
# ignore-regex is substituted by ' '
- 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))$
+ entry: tools/codespell.py --ignore-words .codespellignore --ignore-regex "\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))" --files
+ exclude: ^(\.codespellignore|src/dialog/dlgabout\.cpp|.*\.(?:pot?|ts))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.2.0
hooks: