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:
parent
8ce86713f6
commit
b1f86c97b8
@ -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[@]}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user