-
Notifications
You must be signed in to change notification settings - Fork 114
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
1 parent
31311c4
commit b4d26dc
Showing
8 changed files
with
566 additions
and
7 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 |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
*.pyc | ||
/.cache | ||
/_docs | ||
/venv* | ||
/venv* | ||
/_tmp |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: python | ||
python: | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
# Two lines below needed for testing Py3.7: https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905 | ||
sudo: required | ||
dist: xenial | ||
install: pip install .[test] | ||
script: pytest |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
del /Q dist\*.tar.gz | ||
python setup.py sdist && twine upload dist\*.tar.gz |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, // this is a default value | ||
"**/.DS_Store": true, // this is a default value | ||
"build": true, | ||
"dist": true, | ||
"*.egg-info": true, | ||
"venv*": true, | ||
".cache": true, | ||
"**/__pycache__": true, | ||
"Untitled.ipynb": true, | ||
".ipynb_checkpoints": true, | ||
".pytest_cache": true, | ||
"**/*.pyc": true | ||
}, | ||
"python.pythonPath": "${workspaceFolder}\\venv3\\Scripts\\python.exe", | ||
"python.unitTest.pyTestEnabled": true, | ||
"python.linting.pylintEnabled": true, | ||
"python.linting.enabled": true, | ||
"python.linting.pylintUseMinimalCheckers": false, | ||
"python.linting.pylintPath": "${workspaceFolder}\\venv3\\Scripts\\pylint.exe", | ||
// https://github.com/Microsoft/vscode-python/issues/435 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"type": "shell", | ||
"isBackground": true, | ||
"options": { | ||
"env": {"PATH": "./venv3/Scripts"} | ||
}, | ||
"presentation": { | ||
"panel": "dedicated" | ||
}, | ||
"tasks": [ | ||
{ | ||
"label": "jupyter", | ||
"type": "shell", | ||
"command": "jupyter notebook", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "shell", | ||
"type": "shell", | ||
"problemMatcher": [], | ||
"command": "ipython", | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new", | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "py.test: all tests", | ||
"command": "py.test", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "dedicated" | ||
}, | ||
"group": "test" | ||
}, | ||
{ | ||
"label": "py.test: current file", | ||
"command": "py.test", | ||
"args": [ | ||
"${file}" | ||
], | ||
"problemMatcher": [], | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "dedicated" | ||
}, | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "Upload to PyPI", | ||
"command": ".\\.vscode\\pypi-upload.cmd", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
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
Oops, something went wrong.