-
Notifications
You must be signed in to change notification settings - Fork 0
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
5 changed files
with
66 additions
and
3 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 |
---|---|---|
|
@@ -20,7 +20,6 @@ __pycache__/* | |
.pydevproject | ||
.settings | ||
.idea | ||
.vscode | ||
tags | ||
|
||
# Package files | ||
|
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
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,30 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug Test server", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "aiohttp.web", | ||
"justMyCode": true, | ||
"args": ["-H", "localhost", "-P", "3001", "tests.utils.test_server:run_server"] | ||
}, | ||
{ | ||
"name": "Debug CLI", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/src/pysaleryd/skeleton.py", | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": [ | ||
"--host", | ||
"localhost", | ||
"--port", | ||
"3001" | ||
] | ||
} | ||
] | ||
} |
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,18 @@ | ||
{ | ||
"esbonio.sphinx.confDir": "", | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.pytestArgs": [ | ||
// Coverage is not supported by vscode: | ||
// https://github.com/Microsoft/vscode-python/issues/693 | ||
// Note that this will make pytest fail if pytest-cov is not installed, | ||
// if that's the case, then this option needs to be be removed (overrides | ||
// can be set at a workspace level, it's up to you to decide what's the | ||
// best approach). You might also prefer to only set this option | ||
// per-workspace (wherever coverage is used). | ||
"--no-cov", | ||
"-o", | ||
"log_cli=1", | ||
"--timeout=30", | ||
"--verbose" | ||
], | ||
} |
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,13 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run test server", | ||
"type": "shell", | ||
"command": "python", | ||
"args": ["-m", "aiohttp.web", "-H", "localhost", "-P", "3001", "tests.utils.test_server:run_server"] | ||
} | ||
] | ||
} |