Browse Source

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

Ask Solem 14 năm trước cách đây
mục cha
commit
09a6a116e6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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)