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