-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"python.pythonPath": "C:\\Users\\jerrywangr\\AppData\\Local\\conda\\conda\\envs\\py36\\python.exe" | ||
"python.pythonPath": "C:\\ProgramData\\Anaconda3\\python.exe" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
from fabric.api import local | ||
from invoke import task | ||
import os | ||
|
||
|
||
def lint(): | ||
local("flake8 .") | ||
local("yapf --style pep8 -i -r .") | ||
@task | ||
def lint(c): | ||
os.system("flake8 .") | ||
# os.system("yapf --style pep8 -i -r .") | ||
|
||
|
||
def test(): | ||
local("nosetests") | ||
@task | ||
def test(c): | ||
os.system("nosetests") | ||
|
||
|
||
def commit(): | ||
local("git add -A && git commit") | ||
@task | ||
def commit(c): | ||
os.system("git add -A && git commit") | ||
|
||
|
||
def push(): | ||
local("git push") | ||
@task | ||
def push(c): | ||
os.system("git push") | ||
|
||
|
||
def done(): | ||
lint() | ||
test() | ||
commit() | ||
push() | ||
@task | ||
def deploy(c): | ||
lint(c) | ||
test(c) | ||
commit(c) | ||
push(c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Fabric3==1.13.1.post1 | ||
Fabric==2.1.3 | ||
tqdm>=4.23 | ||
click==6.7 |