Browse Source

releaseok now also runs flakeplus

Ask Solem 13 years ago
parent
commit
0bb5481244
1 changed files with 10 additions and 1 deletions
  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