PyEnchant
allowlist_externals = sh
commands =
- sh -c 'command enchant>/dev/null || command enchant-2 -v>/dev/null || sudo yum -y install enchant || (echo "enchant command not found - please install it (e.g. sudo apt-get install enchant | yum install enchant )" >&2 && exit 1)'
+ sh -c 'command enchant>/dev/null || \
+ command enchant-2 -v>/dev/null || \
+ (sudo apt-get -qq update && sudo apt-get --yes install enchant-2) || \
+ sudo yum -y install enchant || \
+ (echo "enchant command not found - please install it (e.g. sudo apt-get install enchant | yum install enchant )" >&2 && exit 1)'
sphinx-build -q -W --keep-going -b spelling -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spelling
-