summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-03-11 19:57:27 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-03-11 19:57:27 +0100
commit16f30f7fcdf2877ecae79d30388a927b8b77f641 (patch)
tree73bb6216149573d155216c622e54a28c0e5857c3 /check
parentc8ca568998eb1e3aa9b120be6e30bcd93fc090e4 (diff)
Only run doc8 where it is available
Diffstat (limited to 'check')
-rwxr-xr-xcheck5
1 files changed, 4 insertions, 1 deletions
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