Commit a1392d3a by Bach Dániel

Merge branch 'feature-fab-flake8' into 'master'

Feature fab flake8 

See merge request !309
parents b7cd40e3 79a23ee9
...@@ -64,6 +64,14 @@ def bower(component=None): ...@@ -64,6 +64,14 @@ def bower(component=None):
@roles('portal') @roles('portal')
def flake8():
"Run portal tests"
with _workon("circle"), cd("~/circle/circle"):
run("flake8 . --exclude=migrations,bower_components,"
"south_migrations,static_collected --max-complexity 12")
@roles('portal')
def migrate(): def migrate():
"Run db migrations" "Run db migrations"
with _workon("circle"), cd("~/circle/circle"): with _workon("circle"), cd("~/circle/circle"):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment