Merge "bottlenecks ssh to VM by python"
authorYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>
Fri, 3 Feb 2017 07:36:29 +0000 (07:36 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 3 Feb 2017 07:36:29 +0000 (07:36 +0000)
flake8_cfg
verify.sh [moved from tests.sh with 85% similarity]

index 578c055..14bff2f 100644 (file)
@@ -2,3 +2,4 @@
 format = pylint
 statistics = True
 count = True
+show_source = True
\ No newline at end of file
similarity index 85%
rename from tests.sh
rename to verify.sh
index 1811077..1e0d013 100755 (executable)
--- a/tests.sh
+++ b/verify.sh
@@ -15,11 +15,11 @@ getopts ":f" FILE_OPTION
 
 run_flake8() {
     echo "Running flake8 ... "
-    logfile=test_results.log
+    logfile=flake8_verify.log
     if [ $FILE_OPTION == "f" ]; then
-       sudo flake8 --append-config=flake8_cfg testsuites/posca/ > $logfile
+       flake8 --append-config=flake8_cfg testsuites/posca/ utils/ > $logfile
     else
-       sudo flake8 --append-config=flake8_cfg testsuites/posca/
+       flake8 --append-config=flake8_cfg testsuites/posca/ utils/
     fi
 
     if [ $? -ne 0 ]; then