chore: migrate from pytest.ini -> pyproject.toml

ref: #731 #730
This commit is contained in:
2025-04-20 13:35:23 +09:30
parent 705b245514
commit 6289fad8ad
7 changed files with 57 additions and 23 deletions

16
.vscode/launch.json vendored
View File

@ -4,7 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Centurion",
"type": "debugpy",
@ -18,7 +17,6 @@
"program": "${workspaceFolder}/app/manage.py"
},
{
"name": "Debug: Gunicorn",
"type": "debugpy",
"request": "launch",
@ -32,7 +30,6 @@
"--bind",
"0.0.0.0:8002",
"app.wsgi:application",
],
"django": true,
"autoStartBrowser": false,
@ -53,7 +50,6 @@
"autoStartBrowser": false,
"program": "${workspaceFolder}/app/manage.py"
},
{
"name": "Migrate",
"type": "debugpy",
@ -64,7 +60,6 @@
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/app/manage.py"
},
{
"name": "Debug: Celery",
@ -82,6 +77,17 @@
"debug-itsm@%h"
],
"cwd": "${workspaceFolder}/app"
},
{
"name": "Debug pytest (collect)",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"--collect-only"
],
"console": "integratedTerminal",
"justMyCode": false
}
]
}

View File

@ -4,13 +4,6 @@
"cSpell.enableFiletypes": [
"!python"
],
"python.testing.pytestArgs": [
// "-v",
// "--cov",
// "--cov-report xml",
"-s",
"app",
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"testing.coverageToolbarEnabled": true,