a92f7f9c2f
Added running codespell via pre-commit. Corrected all the spelling mistakes as well. It seemed better to correct them than to leave them incorrect in past specs and priorities since it looks more professional. Change-Id: If96abb56726a4d8164ebdd5de4dc5ba09bc734a5 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: mixed-line-ending
|
|
args: ['--fix', 'lf']
|
|
exclude: |
|
|
(?x)(
|
|
.*.svg$|
|
|
)
|
|
- id: fix-byte-order-marker
|
|
- id: check-merge-conflict
|
|
- id: debug-statements
|
|
- id: check-json
|
|
files: .*\.json$
|
|
- id: check-yaml
|
|
files: .*\.(yaml|yml)$
|
|
exclude: releasenotes/.*$
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.4
|
|
hooks:
|
|
- id: remove-tabs
|
|
exclude: '.*\.(svg)$'
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.6
|
|
hooks:
|
|
- id: codespell
|
|
args: [--write-changes]
|
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: sphinx-lint
|
|
args: [--enable=default-role]
|
|
files: ^doc/|releasenotes|api-ref
|
|
- repo: https://github.com/PyCQA/doc8
|
|
rev: v1.1.2
|
|
hooks:
|
|
- id: doc8
|
|
|