diff options
author | fedeG <federicogonzalez761@gmail.com> | 2014-12-07 21:54:34 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-17 17:59:31 +0200 |
commit | 817a3d66e6ddaf90e4649212dae4c240a0847c9c (patch) | |
tree | 5d4413e436981c385524eed52b9bb53743e8d966 | |
parent | PEP-8, Python Zen, refactor and reduce code (part 3 in master module) (diff) | |
download | pyload-817a3d66e6ddaf90e4649212dae4c240a0847c9c.tar.xz |
PEP-8, Python Zen, refactor and reduce code (part 4 in master script). Bash varible $VAR to ${VAR}
Conflicts:
scripts/clonedigger.sh
scripts/code_analysis.sh
-rw-r--r-- | tests/clonedigger.sh | 2 | ||||
-rw-r--r-- | tests/code_analysis.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/clonedigger.sh b/tests/clonedigger.sh index 641e7ff64..4c53eab0d 100644 --- a/tests/clonedigger.sh +++ b/tests/clonedigger.sh @@ -1,4 +1,4 @@ #!/bin/sh PYLOAD="../pyload" # Check pyload directory -clonedigger -o cpd.xml --cpd-output --fast --ignore-dir="remote" $PYLOAD +clonedigger -o cpd.xml --cpd-output --fast --ignore-dir="remote" ${PYLOAD} diff --git a/tests/code_analysis.sh b/tests/code_analysis.sh index c4dc8e99a..cba614929 100644 --- a/tests/code_analysis.sh +++ b/tests/code_analysis.sh @@ -4,12 +4,12 @@ PYLOAD="../pyload" # Check pyload directory echo "Running sloccount ..." REPORT="sloccount.sc" -sloccount --duplicates --wide --details $PYLOAD > $REPORT && echo "Done. Report saved to $REPORT" +sloccount --duplicates --wide --details ${PYLOAD} > ${REPORT} && echo "Done. Report saved to $REPORT" echo "Running pep8 ..." REPORT="pep8.txt" -pep8 $PYLOAD > $REPORT && echo "Done. Report saved to $REPORT" +pep8 ${PYLOAD} > ${REPORT} && echo "Done. Report saved to $REPORT" echo "Running pylint ..." REPORT="pylint.txt" -pylint --reports=no $PYLOAD > $REPORT && echo "Done. Report saved to $REPORT" +pylint --reports=no ${PYLOAD} > ${REPORT} && echo "Done. Report saved to $REPORT" |