aboutsummaryrefslogtreecommitdiff
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
parentc8ca568998eb1e3aa9b120be6e30bcd93fc090e4 (diff)
Only run doc8 where it is available
-rw-r--r--.builds/archlinux.yml1
-rwxr-xr-xcheck5
2 files changed, 4 insertions, 2 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 487a7ef..44ab1c0 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -9,7 +9,6 @@ packages:
- python-coverage
- flake8
- python-isort
- - python-doc8
sources:
- https://git.sr.ht/~valhalla/lesana
tasks:
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