summaryrefslogtreecommitdiffstats
path: root/tests/code_analysis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/code_analysis.sh')
-rw-r--r--tests/code_analysis.sh6
1 files changed, 3 insertions, 3 deletions
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"