aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-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