Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add paths to flake8 style check
[bottlenecks.git]
/
verify.sh
diff --git
a/tests.sh
b/verify.sh
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 ... "
run_flake8() {
echo "Running flake8 ... "
- logfile=
test_results
.log
+ logfile=
flake8_verify
.log
if [ $FILE_OPTION == "f" ]; then
if [ $FILE_OPTION == "f" ]; then
-
sudo flake8 --append-config=flake8_cfg testsuites/posca
/ > $logfile
+
flake8 --append-config=flake8_cfg testsuites/posca/ utils
/ > $logfile
else
else
-
sudo flake8 --append-config=flake8_cfg testsuites/posca
/
+
flake8 --append-config=flake8_cfg testsuites/posca/ utils
/
fi
if [ $? -ne 0 ]; then
fi
if [ $? -ne 0 ]; then