enable sphinx-lint on priorities and specs

Change-Id: Ie307df5f67c1f97dc8f5feb41a54bc95acf94a25
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein 2025-01-25 13:33:52 -05:00
parent 097325a9e4
commit 090e667fc8
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View file

@ -33,7 +33,7 @@ repos:
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^doc/|releasenotes|api-ref
files: ^doc/|releasenotes|api-ref|priorities|specs
- repo: https://github.com/PyCQA/doc8
rev: v1.1.2
hooks:

View file

@ -35,3 +35,8 @@ deps = {[testenv:docs]deps}
commands =
sphinx-build -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:linters]
deps = pre-commit
allowlist_externals = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure {posargs}