소스 검색

releaseok now also runs flakeplus

Ask Solem 13 년 전
부모
커밋
0bb5481244
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      pavement.py

+ 10 - 1
pavement.py

@@ -101,6 +101,15 @@ def flakeplus(options):
        ignore_error=noerror)
 
 
+@task
+@cmdopts([
+    ("noerror", "E", "Ignore errors")
+])
+def flakes(options):
+    flake8(options)
+    flakeplus(options)
+
+
 @task
 def clean_readme(options):
     path("README").unlink()
@@ -166,7 +175,7 @@ def gitcleanforce(options):
 
 
 @task
-@needs("flake8", "autodoc", "verifyindex",
+@needs("flakes", "autodoc", "verifyindex",
        "verifyconfigref", "test", "gitclean")
 def releaseok(options):
     pass