瀏覽代碼

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

Ask Solem 14 年之前
父節點
當前提交
09a6a116e6
共有 1 個文件被更改,包括 3 次插入0 次删除
  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)