浏览代码

pep8: Ignore E126,E127,E128

Ask Solem 12 年之前
父节点
当前提交
8803d46af9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pavement.py

+ 1 - 1
pavement.py

@@ -59,7 +59,7 @@ def verifyconfigref(options):
 def flake8(options):
     noerror = getattr(options, 'noerror', False)
     complexity = getattr(options, 'complexity', 22)
-    sh("""flake8 celery | perl -mstrict -mwarnings -nle'
+    sh("""flake8 --ignore=E126,E127,E128 celery | perl -mstrict -mwarnings -nle'
         my $ignore = m/too complex \((\d+)\)/ && $1 le %s;
         if (! $ignore) { print STDERR; our $FOUND_FLAKE = 1 }
     }{exit $FOUND_FLAKE;