diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 19:57:27 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 19:57:27 +0100 |
commit | 16f30f7fcdf2877ecae79d30388a927b8b77f641 (patch) | |
tree | 73bb6216149573d155216c622e54a28c0e5857c3 | |
parent | c8ca568998eb1e3aa9b120be6e30bcd93fc090e4 (diff) |
Only run doc8 where it is available
-rw-r--r-- | .builds/archlinux.yml | 1 | ||||
-rwxr-xr-x | 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: @@ -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 |