diff options
author | Yu Yang (Gabriel) <Gabriel.yuyang@huawei.com> | 2017-01-23 01:27:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-23 01:27:07 +0000 |
commit | ca641fcdaa919afb072a9625eb9ba3848b9e3805 (patch) | |
tree | a0ba657f43695e73000cc52cda8e0809cef886be | |
parent | f419c51fea3219386308b34971e76a908693b33d (diff) | |
parent | 9f28a751ee342b77f653acbebfb10d6587af669a (diff) |
Merge "Add paths to flake8 style check"
-rw-r--r-- | flake8_cfg | 1 | ||||
-rwxr-xr-x | verify.sh (renamed from tests.sh) | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -2,3 +2,4 @@ format = pylint statistics = True count = True +show_source = True
\ No newline at end of file @@ -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 |