From 16f30f7fcdf2877ecae79d30388a927b8b77f641 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 11 Mar 2022 19:57:27 +0100 Subject: Only run doc8 where it is available --- check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'check') diff --git a/check b/check index 8001db4..beb841c 100755 --- a/check +++ b/check @@ -28,7 +28,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 lesana -- cgit v1.2.3