diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-30 13:03:12 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-30 13:03:12 +0200 |
commit | b3b5847885dc38b40461878a7bbe65848a43c2fd (patch) | |
tree | f77ea094e755f314f2245f1b86cce76f122d562c /tests/code_analysis.sh | |
parent | ignore some pep8 warnings (diff) | |
download | pyload-b3b5847885dc38b40461878a7bbe65848a43c2fd.tar.xz |
added pylint config
Diffstat (limited to 'tests/code_analysis.sh')
-rwxr-xr-x | tests/code_analysis.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/code_analysis.sh b/tests/code_analysis.sh index d8ede8d4b..85b177223 100755 --- a/tests/code_analysis.sh +++ b/tests/code_analysis.sh @@ -6,10 +6,11 @@ echo "Running pep8" pep8 pyload > pep8.txt -echo "Running pyflakes" - +#echo "Running pyflakes" # pyflakes to pylint syntak -find -name '*.py' |egrep -v '^.(/tests/|/pyload/lib)'|xargs pyflakes > pyflakes.log || : +#find -name '*.py' |egrep -v '^.(/tests/|/pyload/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" > pyflakes.txt -sed -i 's/^.\///g' pyflakes.txt +#cat pyflakes.log | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' | grep -i -E -v "'_'|pypath|webinterface|pyreq|addonmanager" > pyflakes.txt +#sed -i 's/^.\///g' pyflakes.txt + +pylint pyload > pylint.txt
\ No newline at end of file |