diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-16 19:54:22 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-16 20:34:07 +0100 |
commit | dc9a441bfa8b2767748a8e3d138ae765e0d7b0cb (patch) | |
tree | 0d28e9b5ae6a9a2ccb2a214500cdd16bfacc8580 | |
parent | ee6dfe8308c967573a9d12d8dbbc1533cec45f51 (diff) |
Move flake8 configuration to setup.cfg
It will be used when calling flake8 from any directory in the project
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | setup.cfg | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -36,11 +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: - FLAKE8_OUT=$$(flake8 --ignore E501 . | grep -v youtube_dl/extractor/__init__.py); \ - if test -n "$$FLAKE8_OUT"; then \ - echo "$$FLAKE8_OUT"; \ - exit 1; \ - fi + flake8 . test: #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test @@ -1,2 +1,6 @@ [wheel] universal = True + +[flake8] +exclude = youtube_dl/extractor/__init__.py +ignore = E501 |