Update settings

This commit is contained in:
IRBorisov 2024-04-12 20:32:18 +03:00
parent d93b3621fb
commit 798dce4b91
2 changed files with 79 additions and 91 deletions

14
.vscode/launch.json vendored
View File

@ -34,23 +34,19 @@
}, },
{ {
"name": "BE-DebugTest", "name": "BE-DebugTest",
"type": "python", "type": "debugpy",
"request": "launch", "request": "launch",
"cwd": "${workspaceFolder}/rsconcept/backend", "cwd": "${workspaceFolder}/rsconcept/backend",
"program": "${workspaceFolder}/rsconcept/backend/manage.py", "program": "${workspaceFolder}/rsconcept/backend/manage.py",
"args": [ "args": ["test"],
"test"
],
"django": true "django": true
}, },
{ {
"name": "BE-Debug", "name": "BE-Debug",
"type": "python", "type": "debugpy",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/rsconcept/backend/manage.py", "program": "${workspaceFolder}/rsconcept/backend/manage.py",
"args": [ "args": ["runserver"],
"runserver"
],
"django": true "django": true
}, },
{ {
@ -79,6 +75,6 @@
"windows": { "windows": {
"program": "${workspaceFolder}/rsconcept/frontend/node_modules/jest/bin/jest" "program": "${workspaceFolder}/rsconcept/frontend/node_modules/jest/bin/jest"
} }
}, }
] ]
} }

View File

@ -6,15 +6,7 @@
"python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "test*.py"], "python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "test*.py"],
"python.testing.pytestEnabled": false, "python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true, "python.testing.unittestEnabled": true,
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"python.analysis.typeCheckingMode": "off", "python.analysis.typeCheckingMode": "off",
"python.analysis.diagnosticSeverityOverrides": {
// "reportOptionalMemberAccess": "none"
},
"python.analysis.ignore": ["**/tests/**", "**/node_modules/**", "**/venv/**"], "python.analysis.ignore": ["**/tests/**", "**/node_modules/**", "**/venv/**"],
"python.analysis.packageIndexDepths": [ "python.analysis.packageIndexDepths": [
{ {