diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-07-16 20:54:23 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-07-16 20:54:23 +0200 |
commit | ee5231eb06a31d64897360b83b2cf273cf1c64b2 (patch) | |
tree | ff0ca6d887d4c1c4172da8e08cd7c3aeabec6b82 | |
parent | 5f2b4080c41b9da04bcf6cc76f19377c4aeb22b0 (diff) |
Only run doc8 where it is installed
-rwxr-xr-x | check | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |