Skip to content

Commit

Permalink
make pkg/runtest.sh not exit w/ code 0.7-5.el5.src even if flake8 is …
Browse files Browse the repository at this point in the history
…not found
  • Loading branch information
ssato committed Mar 8, 2015
1 parent 4b66433 commit 8ef371f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if test $# -gt 0; then
if test $check_with_pep8 = 1; then
for x in $@; do pep8 ${x%%:*}; done
fi
test $check_with_flake8 = 1 && flake8 $@
test $check_with_flake8 = 1 && flake8 $@ || :
if test $check_with_pylint = 1; then
for x in $@; do _pylint ${x%%:*}; done
fi
Expand All @@ -54,7 +54,7 @@ else
fi
done
PYTHONPATH=. nosetests ${nosetests_opts} --all-modules
test $check_with_flake8 = 1 && flake8 .
test $check_with_flake8 = 1 && flake8 -v . || :
fi

# vim:sw=4:ts=4:et:

0 comments on commit 8ef371f

Please sign in to comment.