.pre-commit add code spell args

This commit is contained in:
Fabian 2022-09-13 14:43:53 +02:00
parent 02725e00f0
commit acfdc36bd7

View File

@ -30,9 +30,7 @@ repos:
rev: v2.2.1
hooks:
- id: codespell
args: [
'--ignore-regex="(\b[A-Z]+\b)"',
] # Ignore capital case words, e.g. country codes
args: ['--ignore-regex="(\b[A-Z]+\b)"', '--ignore-words-list=FOM'] # Ignore capital case words, e.g. country codes
types_or: [python, rst, markdown]
files: ^(scripts|doc)/
@ -41,8 +39,7 @@ repos:
rev: v1.5.0
hooks:
- id: docformatter
args:
["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
- repo: https://github.com/keewis/blackdoc
rev: v0.3.5