Skip to content

Commit

Permalink
lint.sh: check if sphinx-lint is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Sep 17, 2024
1 parent dc860d1 commit 9ded212
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set -xeu
# Fail earlier if required variables are not set
test -n ${PYDOC_LANGUAGE+x}

# Fail earlier if sphinx-lint is not installed
sphinx-lint --help >/dev/null

rootdir=$(realpath $(dirname $0)/..)

cd "$rootdir"
Expand Down

0 comments on commit 9ded212

Please sign in to comment.