Explorar el Código

pep8: Ignore E126,E127,E128

Ask Solem hace 12 años
padre
commit
8803d46af9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;