mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 17:24:46 +00:00
add lint tools versions
This commit is contained in:
10
tests.sh
10
tests.sh
@@ -6,6 +6,14 @@
|
|||||||
#set -ev
|
#set -ev
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# versions
|
||||||
|
echo "pylint version:"
|
||||||
|
pylint --version
|
||||||
|
echo "pycodestyle version:"
|
||||||
|
pycodestyle --version
|
||||||
|
echo "pyflakes version:"
|
||||||
|
pyflakes --version
|
||||||
|
|
||||||
# PEP8 tests
|
# PEP8 tests
|
||||||
which pycodestyle >/dev/null 2>&1
|
which pycodestyle >/dev/null 2>&1
|
||||||
[ "$?" != "0" ] && echo "Install pycodestyle" && exit 1
|
[ "$?" != "0" ] && echo "Install pycodestyle" && exit 1
|
||||||
@@ -39,6 +47,8 @@ which ${nosebin} >/dev/null 2>&1
|
|||||||
[ "$?" != "0" ] && nosebin="nosetests3"
|
[ "$?" != "0" ] && nosebin="nosetests3"
|
||||||
which ${nosebin} >/dev/null 2>&1
|
which ${nosebin} >/dev/null 2>&1
|
||||||
[ "$?" != "0" ] && echo "Install nosetests" && exit 1
|
[ "$?" != "0" ] && echo "Install nosetests" && exit 1
|
||||||
|
echo "nose version:"
|
||||||
|
${nosebin} --version
|
||||||
|
|
||||||
# do not print debugs when running tests (faster)
|
# do not print debugs when running tests (faster)
|
||||||
export DOTDROP_FORCE_NODEBUG=yes
|
export DOTDROP_FORCE_NODEBUG=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user