浏览代码

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)
Jaime Marquínez Ferrándiz 10 年之前
父节点
当前提交
050fa43561
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup.cfg

+ 1 - 1
setup.cfg

@@ -3,4 +3,4 @@ universal = True
 
 
 [flake8]
 [flake8]
 exclude = youtube_dl/extractor/__init__.py,devscripts/buildserver.py,setup.py,build,.git
 exclude = youtube_dl/extractor/__init__.py,devscripts/buildserver.py,setup.py,build,.git
-ignore = E501
+ignore = E402,E501,E731