]> Raphaƫl G. Git Repositories - youtubedl/blob - debian/patches/skip-style-checks-for-flake8.patch
debian/patches: Add patch to skip style checks from flake8 during test.
[youtubedl] / debian / patches / skip-style-checks-for-flake8.patch
1 diff --git a/Makefile b/Makefile
2 index 3e17365..aacc281 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -30,7 +30,10 @@ install: youtube-dl youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtu
6 install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish
7
8 codetest:
9 - flake8 .
10 + flake8 \
11 + --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,.pc,.pybuild \
12 + --ignore=E121,E123,E126,E226,E24,E704,E402,E501,E731,E741,W503,W504,N802,N803,N806,N816,F401,F821,E302,E305,N801,N815,E265,N813,F403,F405 \
13 + .
14
15 test:
16 #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test