From: Jaime Marquínez Ferrándiz Date: Wed, 11 Feb 2015 17:08:42 +0000 (+0100) Subject: flake8: Ignore some error added in pep8 1.6 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=050fa4356122926d673635f7ba343293126e6d5c;p=youtube-dl.git flake8: Ignore some error added in pep8 1.6 * E402: we exectute code between imports, like modifying 'sys.path' in the tests * E731: we assign to lambdas in a lot of places, we may want to consider defining functions in a single line instead (what pep8 recommends) --- diff --git a/setup.cfg b/setup.cfg index 02aa56257..26857750c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,4 +3,4 @@ universal = True [flake8] exclude = youtube_dl/extractor/__init__.py,devscripts/buildserver.py,setup.py,build,.git -ignore = E501 +ignore = E402,E501,E731