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
79a23ee9
authored
Mar 16, 2015
by
Bach Dániel
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fabfile: add flake8
Closes
#395
parent
cb4e68fd
Show 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 @
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"
):
...
...
Kálmán Viktor
@kviktor
commented
Mar 16, 2015
Owner
+1
+1
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