Explorar o código

releaseok now also runs flakeplus

Ask Solem %!s(int64=13) %!d(string=hai) anos
pai
achega
0bb5481244
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  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