scripts: pep8 is renamed to pycodestyle

Fix it to use the new name.

Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
Claudius Heine 2017-11-07 16:18:24 +01:00 committed by Daniel Wagner
parent fa1575790f
commit 8119dff5f0
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ install:
# install kas to have all kas dependencies:
- pip install .
# checkcode dependencies:
- pip install pylint pep8 doc8 Pygments
- pip install pylint pycodestyle doc8 Pygments
# test dependencies:
- pip install pytest

View File

@ -24,7 +24,7 @@ import sys
# Add the project directory to the path, in order to include it:
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
import kas # noqa (disables pep8 check for this line)
import kas # noqa (disables pycodestyle check for this line)
# -- General configuration ------------------------------------------------

View File

@ -2,8 +2,8 @@
ERROR=0
echo "Checking with pep8"
pep8 $1/*.py $1/*/*.py || ERROR=$(expr $ERROR + 1)
echo "Checking with pycodestyle"
pycodestyle $1/*.py $1/*/*.py || ERROR=$(expr $ERROR + 1)
echo "Checking with pylint"
pylint $1/*.py $1/*/*.py || ERROR=$(expr $ERROR + 2)