summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 15:40:12 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-02 15:59:27 +0200
commit0f515df5cb7a0a4d4578381dfc945fa47e06cdf8 (patch)
tree68ce19798f72b4476b541fd2e434660c59a8c44d /.pre-commit-config.yaml
parent9790f7c623bd2b488a510eda52554c6b92199429 (diff)
pre-commit: Move codespell matches into separate file
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 d642917d4e..a13169e83f 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-words .codespellignore --ignore-regex "\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))" --files
+ entry: tools/codespell.py --ignore-file .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|wxl))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.2.0