diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-06-15 21:11:44 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-06-15 21:11:44 -0400 |
commit | 8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f (patch) | |
tree | 88dea04a2a8579ffdca779834ed7b70cb1cb0836 /tools/run-pep8 | |
parent | 946b0f5542ffb43149f60b5dd50b2fb450d23713 (diff) | |
parent | b77f11b35bf0978247fc88d0f4239c5bd4f65d66 (diff) | |
download | vyos-cloud-init-8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f.tar.gz vyos-cloud-init-8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f.zip |
move 'main' into cloudinit/cmd/ for easier testing
This moves bin/cloud-init's content into cloudinit/cmd/main.py,
and then fixes the pep8/flake8 issues with that.
The end result is easier testing of main.
Diffstat (limited to 'tools/run-pep8')
-rwxr-xr-x | tools/run-pep8 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/run-pep8 b/tools/run-pep8 index 086400fc..4bd0bbfb 100755 --- a/tools/run-pep8 +++ b/tools/run-pep8 @@ -1,8 +1,7 @@ #!/bin/bash -pycheck_dirs=( "cloudinit/" "bin/" "tests/" "tools/" ) -# FIXME: cloud-init modifies sys module path, pep8 does not like -# bin_files=( "bin/cloud-init" ) +pycheck_dirs=( "cloudinit/" "tests/" "tools/" ) + CR=" " [ "$1" = "-v" ] && { verbose="$1"; shift; } || verbose="" |