X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Makefile;h=71c8553d888f11625b6bb38b607f3a8607ba6e10;hb=dc9a441bfa8b2767748a8e3d138ae765e0d7b0cb;hp=2a32a6c0c64a8a5cfe0ec78945d7bdb12b09a068;hpb=a0ab29f8a10e2a97f87182a85a6309ae61ec27b0;p=youtube-dl diff --git a/Makefile b/Makefile index 2a32a6c0c..71c8553d8 100644 --- a/Makefile +++ b/Makefile @@ -36,12 +36,7 @@ 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"; \ - exit 1; \ - fi - pep8 . --ignore E501 + flake8 . test: #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test @@ -51,7 +46,7 @@ test: ot: offlinetest offlinetest: codetest - nosetests --verbose test --exclude test_download --exclude test_age_restriction --exclude test_subtitles + nosetests --verbose test --exclude test_download --exclude test_age_restriction --exclude test_subtitles --exclude test_write_annotations tar: youtube-dl.tar.gz