change pep8 into pycodestyle since pep8 is depreciated
This commit is contained in:
parent
3fb2be14e1
commit
6ea777e647
@ -12,7 +12,7 @@ matrix:
|
||||
- python: 2.7
|
||||
env: TOXENV=py27-functional
|
||||
- python: 2.7
|
||||
env: TOXENV=update-pep8
|
||||
env: TOXENV=update-pycodestyle
|
||||
- python: 2.7
|
||||
env: TOXENV=docs
|
||||
- python: 2.7
|
||||
|
||||
@ -49,7 +49,7 @@ if [[ -z ${ENV} ]]; then
|
||||
trap "deactivate" EXIT SIGINT
|
||||
|
||||
echo "--- Updating tools"
|
||||
pip install --upgrade pep8
|
||||
pip install --upgrade pycodestyle
|
||||
pip install --upgrade autopep8
|
||||
pip install --upgrade isort
|
||||
fi
|
||||
@ -70,10 +70,10 @@ for SOURCE in $SOURCES; do
|
||||
isort -y $SOURCE
|
||||
done
|
||||
|
||||
echo "--- check pep8 (all need to be fixed manually)"
|
||||
echo "--- check pycodestyle (all need to be fixed manually)"
|
||||
set +o errexit
|
||||
for SOURCE in $SOURCES; do
|
||||
pep8 $SOURCE
|
||||
pycodestyle $SOURCE
|
||||
done
|
||||
|
||||
if [[ ! -z ${ENV} ]]; then
|
||||
@ -8,6 +8,6 @@ mock>=2.0.0
|
||||
sphinx>=1.2.1,!=1.3b1,<1.4 # BSD
|
||||
recommonmark
|
||||
codecov>=1.4.0
|
||||
pep8
|
||||
pycodestyle
|
||||
autopep8
|
||||
isort
|
||||
Loading…
Reference in New Issue
Block a user