From ee5231eb06a31d64897360b83b2cf273cf1c64b2 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sat, 16 Jul 2022 20:54:23 +0200 Subject: Only run doc8 where it is installed --- check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3