.pre-commit add code spell args
This commit is contained in:
parent
02725e00f0
commit
acfdc36bd7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user