Remove the pep8 tool from being ran in a script that has a

name that seems to just say it will run pylint. Put the
pep8 tool in a 'run-pep8' script.
This commit is contained in:
harlowja 2012-06-23 15:00:06 -07:00
parent 8ce86713f6
commit b1f86c97b8

View File

@ -1,6 +1,6 @@
#!/bin/bash
ci_files='cloud*.py cloudinit/*.py cloudinit/CloudConfig/*.py'
ci_files='cloud*.py cloudinit/*.py cloudinit/config/*.py'
test_files=$(find tests -name "*.py")
def_files="$ci_files $test_files"
@ -38,14 +38,3 @@ echo -e "\nRunning pylint:"
echo "${cmd[@]}"
"${cmd[@]}"
cmd=(
pep8
--ignore=E501 # Line too long (these are caught by pylint above)
"${files[@]}"
)
echo -e "\nRunning pep8:"
echo "${cmd[@]}"
"${cmd[@]}"