Move flake8 configuration to setup.cfg
[youtube-dl] / Makefile
index 6fb820c2a456183bc2d75a393bbdb3c8f9f47bcb..71c8553d888f11625b6bb38b607f3a8607ba6e10 100644 (file)
--- 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