summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-07-16 20:54:23 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-07-16 20:54:23 +0200
commitee5231eb06a31d64897360b83b2cf273cf1c64b2 (patch)
treeff0ca6d887d4c1c4172da8e08cd7c3aeabec6b82
parent5f2b4080c41b9da04bcf6cc76f19377c4aeb22b0 (diff)
Only run doc8 where it is installed
-rwxr-xr-xcheck5
1 files changed, 4 insertions, 1 deletions
diff --git a/check b/check
index 9f0cb85..b5008c9 100755
--- a/check
+++ b/check
@@ -33,7 +33,10 @@ case $SUBCMD in
"qa")
flake8 --select=E,F,W,C90,E123 --ignore=W503 .
isort --check-only --diff .
- doc8 .
+ if which doc8
+ then
+ doc8 .
+ fi
;;
"typecheck")
mypy hazwaz