2017-06-28 14:48:42 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
ERROR=0
|
|
|
|
|
2017-11-07 16:18:24 +01:00
|
|
|
echo "Checking with pycodestyle"
|
2018-05-17 12:44:11 +02:00
|
|
|
pycodestyle --ignore=W503,W606 $1/*.py $1/*/*.py || ERROR=$(expr $ERROR + 1)
|
2017-06-28 14:48:42 +02:00
|
|
|
|
|
|
|
echo "Checking with pylint"
|
|
|
|
pylint $1/*.py $1/*/*.py || ERROR=$(expr $ERROR + 2)
|
|
|
|
|
2017-06-28 14:48:46 +02:00
|
|
|
echo "Checking with doc8"
|
|
|
|
doc8 $1/docs --ignore-path $1/docs/_build || ERROR=$(expr $ERROR + 4)
|
|
|
|
|
2017-06-28 14:48:42 +02:00
|
|
|
exit $ERROR
|