diff options
-rw-r--r-- | docs/resources/pyload_logo-outline.png | bin | 0 -> 39315 bytes | |||
-rw-r--r-- | pylintrc | 2 | ||||
-rwxr-xr-x | tests/code_analysis.sh | 9 |
3 files changed, 5 insertions, 6 deletions
diff --git a/docs/resources/pyload_logo-outline.png b/docs/resources/pyload_logo-outline.png Binary files differnew file mode 100644 index 000000000..d20084847 --- /dev/null +++ b/docs/resources/pyload_logo-outline.png @@ -12,7 +12,7 @@ persistent=yes [MESSAGES CONTROL] # Currently only interessted in warnings and errors -disable=C,I,R,W0102,W0106,W0142,W0312,W0403,W0611,W0613,W0614,W0702,W0703 +disable=C,I,R,W0102,W0106,W0142,W0201,W0232,W0312,W0403,W0613,W0614,W0702,W0703 [REPORTS] diff --git a/tests/code_analysis.sh b/tests/code_analysis.sh index 118bee0da..e027bac2f 100755 --- a/tests/code_analysis.sh +++ b/tests/code_analysis.sh @@ -5,13 +5,12 @@ sloccount --duplicates --wide --details pyload > sloccount.sc echo "Running pep8" pep8 pyload > pep8.txt +echo "Running pylint" +pylint --reports=no pyload > pylint.txt || exit 0 + #echo "Running pyflakes" # pyflakes to pylint syntak #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 - - -echo "Running pylint" -pylint --reports=no pyload > pylint.txt || exit 0
\ No newline at end of file +#sed -i 's/^.\///g' pyflakes.txt
\ No newline at end of file |