Explorar o código

pavement: Adds the -E|--noerror option to flake8

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
09a6a116e6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      pavement.py

+ 3 - 0
pavement.py

@@ -79,6 +79,9 @@ def verifyconfigref(options):
 
 
 @task
+@cmdopts([
+    ("noerror", "E", "Ignore errors"),
+])
 def flake8(options):
     noerror = getattr(options, "noerror", False)
     complexity = getattr(options, "complexity", 22)