1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

add lint tools versions

This commit is contained in:
deadc0de6
2021-09-22 15:08:29 +02:00
parent 4dae77c0cc
commit dcdc10d314

View File

@@ -6,6 +6,14 @@
#set -ev
set -e
# versions
echo "pylint version:"
pylint --version
echo "pycodestyle version:"
pycodestyle --version
echo "pyflakes version:"
pyflakes --version
# PEP8 tests
which pycodestyle >/dev/null 2>&1
[ "$?" != "0" ] && echo "Install pycodestyle" && exit 1
@@ -39,6 +47,8 @@ which ${nosebin} >/dev/null 2>&1
[ "$?" != "0" ] && nosebin="nosetests3"
which ${nosebin} >/dev/null 2>&1
[ "$?" != "0" ] && echo "Install nosetests" && exit 1
echo "nose version:"
${nosebin} --version
# do not print debugs when running tests (faster)
export DOTDROP_FORCE_NODEBUG=yes