summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-09-01 10:34:23 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2020-09-01 10:49:52 +0200
commitb3281244fe39545d83ce19db4269816bec20f311 (patch)
tree408fee71a1117cddf742a8d11bb056c2297af21b /.pre-commit-config.yaml
parent571c6612e3a2f858aa9960c66e6a2116b3030692 (diff)
Ignore additional prefixes m_pp p pp s_ k and the false poitive pInOut
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dafc867e35..d921d3d683 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -69,7 +69,8 @@ repos:
rev: f7f304cb40596e4706be27ca44d1401396a97420
hooks:
- id: codespell
- entry: tools/codespell.py --ignore-regex "\\W(?:(?:m_)?p(?=[A-Z])|m_(?=\\w))" --files
+ # 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
exclude: ^(src/dialog/dlgabout.cpp|.*\.(?:pot?|ts))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.2.0