travis: pep8 changes to pycodestyle

Travis CI environment changes pep8 into pycodestyle, do the
transition on our side as well

Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
Stanislav Laznicka authored and Tibor Dudlák committed 2017-10-25 09:59:28 +02:00
1 parent 03786ad9f3
commit 6c88eb8097
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ cache: pip
env:
global:
- TEST_RUNNER_IMAGE="freeipa/freeipa-test-runner:master-latest"
PEP8_ERROR_LOG="pep8_errors.log"
PEP8_ERROR_LOG="pycodestyle_errors.log"
CI_RESULTS_LOG="ci_results_${TRAVIS_BRANCH}.log"
CI_BACKLOG_SIZE=5000
CI_RUNNER_LOGS_DIR="/tmp/test-runner-logs"
@@ -51,7 +51,7 @@ env:
install:
- pip install --upgrade pip
- pip3 install --upgrade pip
- pip install pep8
- pip install pycodestyle
- >
pip3 install
git+https://github.com/freeipa/ipa-docker-test-runner@release-0-2-1
+1 -1
View File
@@ -30,7 +30,7 @@ if [[ "$TASK_TO_RUN" == "lint" ]]
then
if [[ "$TRAVIS_EVENT_TYPE" == "pull_request" ]]
then
git diff origin/$TRAVIS_BRANCH -U0 | pep8 --diff &> $PEP8_ERROR_LOG ||:
git diff origin/$TRAVIS_BRANCH -U0 | pycodestyle --diff &> $PEP8_ERROR_LOG ||:
fi
# disable developer mode for lint task, otherwise we get an error