diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-16 19:38:56 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-16 20:34:07 +0100 |
commit | ee6dfe8308c967573a9d12d8dbbc1533cec45f51 (patch) | |
tree | bc34c7da1031f8b3407dd41ad6a3719c49176c43 /Makefile | |
parent | 2cb5b03e53eefca4610a86e7c07bd2e0564b6dda (diff) |
Use flake8 instead of pyflakes and pep8
It combines both tools
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -36,12 +36,11 @@ install: youtube-dl youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtu install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish codetest: - PYFLAKES_OUT=$$(pyflakes youtube_dl | grep -v youtube_dl/extractor/__init__.py); \ - if test -n "$$PYFLAKES_OUT"; then \ - echo "$$PYFLAKES_OUT"; \ + FLAKE8_OUT=$$(flake8 --ignore E501 . | grep -v youtube_dl/extractor/__init__.py); \ + if test -n "$$FLAKE8_OUT"; then \ + echo "$$FLAKE8_OUT"; \ exit 1; \ fi - pep8 . --ignore E501 test: #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test |