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