summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-23 15:00:06 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-23 15:00:06 -0700
commita14e3090400d24cc34a5dc3fc1a12186175a164c (patch)
tree59a5f646998f9f81425af6eada41b1ada9b77f8a
parent67232af3cba2c7bc99c2ca67b83470b38d6db103 (diff)
downloadvyos-cloud-init-a14e3090400d24cc34a5dc3fc1a12186175a164c.tar.gz
vyos-cloud-init-a14e3090400d24cc34a5dc3fc1a12186175a164c.zip
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.
-rwxr-xr-xtools/run-pylint13
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/run-pylint b/tools/run-pylint
index 46748ffb..dd6369aa 100755
--- a/tools/run-pylint
+++ b/tools/run-pylint
@@ -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[@]}"