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

162
.vscode/launch.json vendored
View File

@ -1,84 +1,80 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Run", "name": "Run",
"type": "PowerShell", "type": "PowerShell",
"request": "launch", "request": "launch",
"script": "${workspaceFolder}/scripts/dev/RunServer.ps1", "script": "${workspaceFolder}/scripts/dev/RunServer.ps1",
"args": [] "args": []
}, },
{ {
"name": "Lint", "name": "Lint",
"type": "PowerShell", "type": "PowerShell",
"request": "launch", "request": "launch",
"script": "${workspaceFolder}/scripts/dev/RunLint.ps1", "script": "${workspaceFolder}/scripts/dev/RunLint.ps1",
"args": [] "args": []
}, },
{ {
"name": "Test", "name": "Test",
"type": "PowerShell", "type": "PowerShell",
"request": "launch", "request": "launch",
"script": "${workspaceFolder}/scripts/dev/RunTests.ps1", "script": "${workspaceFolder}/scripts/dev/RunTests.ps1",
"args": [] "args": []
}, },
{ {
"name": "BE-Coverage", "name": "BE-Coverage",
"type": "PowerShell", "type": "PowerShell",
"request": "launch", "request": "launch",
"script": "${workspaceFolder}/scripts/dev/RunCoverage.ps1", "script": "${workspaceFolder}/scripts/dev/RunCoverage.ps1",
"args": [] "args": []
}, },
{ {
"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",
{ "type": "debugpy",
"name": "BE-Debug", "request": "launch",
"type": "python", "program": "${workspaceFolder}/rsconcept/backend/manage.py",
"request": "launch", "args": ["runserver"],
"program": "${workspaceFolder}/rsconcept/backend/manage.py", "django": true
"args": [ },
"runserver" {
], "name": "Restart",
"django": true "type": "PowerShell",
}, "request": "launch",
{ "script": "${workspaceFolder}/scripts/dev/RunServer.ps1",
"name": "Restart", "args": ["-freshStart"]
"type": "PowerShell", },
"request": "launch", {
"script": "${workspaceFolder}/scripts/dev/RunServer.ps1", "name": "FE-Debug",
"args": ["-freshStart"] "type": "node",
}, "request": "launch",
{ "runtimeExecutable": "${workspaceFolder}/rsconcept/frontend/node_modules/.bin/jest",
"name": "FE-Debug", "args": [
"type": "node", "${fileBasenameNoExtension}",
"request": "launch", "--runInBand",
"runtimeExecutable": "${workspaceFolder}/rsconcept/frontend/node_modules/.bin/jest", "--watch",
"args": [ "--coverage=false",
"${fileBasenameNoExtension}", "--no-cache"
"--runInBand", ],
"--watch", "cwd": "${workspaceFolder}/rsconcept/frontend",
"--coverage=false", "console": "integratedTerminal",
"--no-cache" "internalConsoleOptions": "neverOpen",
], "sourceMaps": true,
"cwd": "${workspaceFolder}/rsconcept/frontend", "windows": {
"console": "integratedTerminal", "program": "${workspaceFolder}/rsconcept/frontend/node_modules/jest/bin/jest"
"internalConsoleOptions": "neverOpen", }
"sourceMaps": true, }
"windows": { ]
"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": [
{ {