Skip to content

Commit 9ded212

Browse files
authored
lint.sh: check if sphinx-lint is installed
1 parent dc860d1 commit 9ded212

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/lint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ set -xeu
88
# Fail earlier if required variables are not set
99
test -n ${PYDOC_LANGUAGE+x}
1010

11+
# Fail earlier if sphinx-lint is not installed
12+
sphinx-lint --help >/dev/null
13+
1114
rootdir=$(realpath $(dirname $0)/..)
1215

1316
cd "$rootdir"

0 commit comments

Comments
 (0)