From a1ac2c6e68323ec05bd1b5568c863eb74cbba11f Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 9 Jun 2016 14:19:50 -0400 Subject: [PATCH] ENH: Use codespell from PyPi --- .travis.yml | 7 +------ Makefile | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index e4b1dd41910..9d57618236e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,12 +67,7 @@ install: fi; fi; - if [ "${DEPS}" == "nodata" ]; then - pip install -q flake8; - wget -q https://github.com/lucasdemarchi/codespell/archive/v1.8.tar.gz; - tar xzf v1.8.tar.gz; - cp codespell-1.8/codespell.py ~/miniconda/envs/testenv/bin; - rm v1.8.tar.gz; - rm -r codespell-1.8; + pip install -q flake8 codespell; fi; - pip install -q codecov nose-timer - if [ "${PYTHON}" == "2.6" ]; then diff --git a/Makefile b/Makefile index a01dc85b25a..109cd03ccbe 100755 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ codespell: # running manually @codespell.py -w -i 3 -q 3 -S $(CODESPELL_SKIPS) -D ./dictionary.txt $(CODESPELL_DIRS) codespell-error: # running on travis - @codespell.py -i 0 -q 7 -S $(CODESPELL_SKIPS) -D ./dictionary.txt $(CODESPELL_DIRS) | tee /dev/tty | wc -l | xargs test 0 -eq + @codespell.py -i 0 -q 7 -S $(CODESPELL_SKIPS) -D ./dictionary.txt $(CODESPELL_DIRS) manpages: @echo "I: generating manpages"