
Enable sphinx-lint via pre-commit and fix up the existing issues. The most common one was single backtick vs double backtick. In ReStructured Text you must use a double backtick while Markdown uses the single backtick for a fixed-width font. The other issue was a tabs vs spaces change in a file. Change-Id: I28e91272d67d13db0fefaa7165e0ba887086eae9 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
17 lines
433 B
YAML
17 lines
433 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: fix-byte-order-marker
|
|
- id: mixed-line-ending
|
|
args: ['--fix', 'lf']
|
|
- id: check-merge-conflict
|
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: sphinx-lint
|
|
args: [--enable=default-role]
|
|
files: ^doc/|releasenotes
|