diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/clonedigger.sh | 4 | ||||
-rw-r--r-- | scripts/code_analysis.sh | 25 |
2 files changed, 0 insertions, 29 deletions
diff --git a/scripts/clonedigger.sh b/scripts/clonedigger.sh deleted file mode 100644 index 358c1b68b..000000000 --- a/scripts/clonedigger.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -PYLOAD="../pyload" # Check pyload directory -clonedigger -o cpd.xml --cpd-output --fast --ignore-dir="lib" --ignore-dir="remote" $PYLOAD diff --git a/scripts/code_analysis.sh b/scripts/code_analysis.sh deleted file mode 100644 index c853652bf..000000000 --- a/scripts/code_analysis.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -PYLOAD="../pyload" # Check pyload directory - -echo "Running sloccount ..." -REPORT="sloccount.sc" -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" - -echo "Running pylint ..." -REPORT="pylint.txt" -pylint --reports=no $PYLOAD > $REPORT && echo "Done. Report saved to $REPORT" - -#echo "Running pyflakes ..." -#REPORT="pyflakes.txt" -#{ - # pyflakes to pylint syntak -# find $PYLOAD -type f -name "*.py" | egrep -v '^\./lib' | xargs pyflakes > pyflakes.log || : - # Filter warnings and strip ./ from path -# cat pyflakes.log | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' | grep -i -E -v "'_'|pypath|webinterface|pyreq|addonmanager" > $REPORT -# sed -i 's/^.\///g' $REPORT -#} && echo "Done. Report saved to $REPORT" |