Skip to content

Commit 43b96c2

Browse files
committed
Refine checking of docs with doc8
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent a2809fb commit 43b96c2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dev:
1919

2020
doc8:
2121
@echo "-> Run doc8 validation"
22-
@${ACTIVATE} doc8 --max-line-length 100 --ignore-path docs/_build/ --quiet docs/ *.rst
22+
@${ACTIVATE} doc8 docs/ *.rst
2323

2424
valid:
2525
@echo "-> Run Ruff format"

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,10 @@ max-complexity = 10
119119
# Place paths of files to be ignored by ruff here
120120
"tests/*" = ["S101"]
121121
"test_*.py" = ["S101"]
122+
123+
124+
[tool.doc8]
125+
126+
ignore-path = ["docs/build", "doc/build", "docs/_build", "doc/_build"]
127+
max-line-length=100
128+
verbose=0

0 commit comments

Comments
 (0)