48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": ".",
|
|
},
|
|
],
|
|
"settings": {
|
|
"python.testing.pytestArgs": ["tests", "-s"],
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestEnabled": true,
|
|
"python-envs.pythonProjects": [
|
|
{
|
|
"path": ".",
|
|
"envManager": "ms-python.python:poetry",
|
|
"packageManager": "ms-python.python:poetry",
|
|
},
|
|
],
|
|
"files.associations": {
|
|
"*.html": "jinja-html",
|
|
},
|
|
"files.exclude": {
|
|
"**/__pycache__": true,
|
|
},
|
|
"terminal.integrated.env.linux": {
|
|
"PYTHONPATH": "${workspaceFolder}",
|
|
},
|
|
},
|
|
"launch": {
|
|
"version": "0.2.1",
|
|
"configurations": [
|
|
{
|
|
"name": "gallery:app",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": ["gallery.main:app", "--reload", "--log-config", "gallery/logging.yaml"],
|
|
},
|
|
{
|
|
"name": "gallery:static",
|
|
"cwd": "${workspaceFolder}/static",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"command": "npm run dev",
|
|
},
|
|
],
|
|
},
|
|
}
|