From f1e8f4cfda5e736ff84c5d0765cae9d2ce235978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Fri, 17 May 2013 20:21:41 +0200 Subject: [PATCH] Replace pep8 and pyflakes with flake8 --- .travis.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2bdb9bf..98bc0518 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,13 +16,12 @@ install: - sudo apt-get install $PYTHON-scipy - sudo apt-get install $PYTHON-setuptools - sudo apt-get install $PYTHON-nose - - sudo apt-get install pep8 - - sudo apt-get install pyflakes - sudo easy_install$PYSUF pip - sudo pip-$PYVER install cython - sudo apt-get install libfreeimage3 - if [[ $PYVER == '2.7' ]]; then sudo apt-get install $PYTHON-matplotlib; fi - if [[ $PYVER == '3.2' ]]; then sudo pip-$PYVER install git+git://github.com/matplotlib/matplotlib.git@v1.2.x; fi + - sudo pip-$PYVER install flake8 - $PYTHON setup.py build - sudo $PYTHON setup.py install script: @@ -34,7 +33,4 @@ script: - cd .. - "echo 'backend : Agg' > matplotlibrc" - for f in doc/examples/*.py; do $PYTHON "$f"; if [ $? -ne 0 ]; then exit $?; fi done - - echo "### pyflakes ###" - - pyflakes skimage - - echo "### pep8 ###" - - "pep8 skimage" + - flake8 skimage doc/examples viewer_examples