diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-31 21:48:48 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-31 22:24:04 +0200 |
commit | 76084d99f919a747d0d22e2d76fb78f184f51668 (patch) | |
tree | 69d3e9593a0a5f6b7b2231a2471983589e746e51 /.pre-commit-config.yaml | |
parent | 230ad7d687df9856772e92fb845684297bd856dd (diff) |
pre-commit: Only run codespell check on changed lines
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2dbd320282..dafc867e35 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,7 +69,7 @@ repos: rev: f7f304cb40596e4706be27ca44d1401396a97420 hooks: - id: codespell - args: ["--ignore-regex", "\\W(?:(?:m_)?p(?=[A-Z])|m_(?=\\w))"] + entry: tools/codespell.py --ignore-regex "\\W(?:(?:m_)?p(?=[A-Z])|m_(?=\\w))" --files exclude: ^(src/dialog/dlgabout.cpp|.*\.(?:pot?|ts))$ - repo: https://github.com/pre-commit/mirrors-eslint rev: v7.2.0 |