Improve pep8 targets and checking in release.

This commit is contained in:
Darko Poljak 2016-07-24 22:24:15 +02:00
parent 1959e9cdd8
commit f5dd4e0a76
2 changed files with 10 additions and 2 deletions

View file

@ -249,7 +249,7 @@ eof
# First check everything is sane # First check everything is sane
"$0" check-date "$0" check-date
"$0" check-unittest "$0" check-unittest
"$0" pep8 "$0" check-pep8
# Generate version file to be included in packaging # Generate version file to be included in packaging
"$0" target-version "$0" target-version
@ -361,6 +361,10 @@ eof
pep8) pep8)
pep8 "${basedir}" "${basedir}/scripts/cdist" | less pep8 "${basedir}" "${basedir}/scripts/cdist" | less
;;
check-pep8)
"$0" pep8
echo "Please review pep8 report." echo "Please review pep8 report."
while true while true
do do

View file

@ -284,7 +284,7 @@ eof
# First check everything is sane # First check everything is sane
"$0" check-date "$0" check-date
"$0" check-unittest "$0" check-unittest
"$0" pep8 "$0" check-pep8
# Generate version file to be included in packaging # Generate version file to be included in packaging
"$0" target-version "$0" target-version
@ -423,6 +423,10 @@ eof
pep8) pep8)
pep8 "${basedir}" "${basedir}/scripts/cdist" | less pep8 "${basedir}" "${basedir}/scripts/cdist" | less
;;
check-pep8)
"$0" pep8
echo "Please review pep8 report." echo "Please review pep8 report."
while true while true
do do