Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a1392d3a
authored
Mar 16, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-fab-flake8' into 'master'
Feature fab flake8
✅
See merge request
!309
parents
b7cd40e3
79a23ee9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
circle/fabfile.py
+8
-0
No files found.
circle/fabfile.py
View file @
a1392d3a
...
@@ -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"
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment