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:
parent
fa1575790f
commit
8119dff5f0
@ -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
|
||||
|
||||
|
@ -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 ------------------------------------------------
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user