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 --- .builds/archlinux.yml | 1 - check | 5 ++++- 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 -- cgit v1.2.3