diff options
| author | Alexandre Flament <alex@al-f.net> | 2023-03-22 08:17:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-22 08:17:34 +0100 |
| commit | 38414355878629c0d05c8784d83c21c0d059aca3 (patch) | |
| tree | 5aca62e216f76e5475f744c4b248dab27a370699 /.vscode | |
| parent | 41823da1b2001c2c14cce7743f224767099c8095 (diff) | |
| parent | 7b711cb15d11ca9f090ca06c909eab57adf5c316 (diff) | |
Merge pull request #2274 from searxng/codespaces
Add GitHub Codespaces configuration
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/launch.json | 23 | ||||
| -rw-r--r-- | .vscode/settings.json | 11 | ||||
| -rw-r--r-- | .vscode/tasks.json | 36 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..8ec6ff9b8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // See https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "SearXNG", + "type": "python", + "request": "launch", + "module": "searx.webapp", + "env": { + "FLASK_APP": "webapp", + "FLASK_DEBUG": "1", + "SEARXNG_DEBUG": "1", + }, + "args": [ + "run" + ], + "jinja": true, + "justMyCode": true, + "python": "${workspaceFolder}/local/py3/bin/python", + } + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..512342bae --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "python.testing.unittestArgs": [ + "-v", + "-s", + "./tests", + "-p", + "test_*.py" + ], + "python.testing.pytestEnabled": false, + "python.testing.unittestEnabled": true, +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..4d4a57b80 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "make run", + "type": "shell", + "command": "make run", + "problemMatcher": [], + "isBackground": true, + "presentation": { + "reveal": "always", + "panel": "dedicated" + }, + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "make docs.live", + "type": "shell", + "command": "make docs.live", + "problemMatcher": [], + "isBackground": true, + "presentation": { + "reveal": "always", + "panel": "dedicated" + }, + "group": { + "kind": "build" + } + } + ] +}
\ No newline at end of file |