39 lines
893 B
JSON
39 lines
893 B
JSON
{
|
|
"python.analysis.extraPaths": ["app"],
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.pytestArgs": ["app"],
|
|
"python.testing.cwd": "${workspaceFolder}/app",
|
|
|
|
"[python]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit"
|
|
}
|
|
},
|
|
|
|
"ruff.lineLength": 100,
|
|
|
|
"files.associations": {
|
|
"**/templates/**/*.html": "django-html",
|
|
"**/requirements*.txt": "pip-requirements"
|
|
},
|
|
"emmet.includeLanguages": {
|
|
"django-html": "html"
|
|
},
|
|
|
|
"files.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/*.pyc": true,
|
|
"**/.pytest_cache": true,
|
|
"**/.ruff_cache": true
|
|
},
|
|
"search.exclude": {
|
|
"**/staticfiles": true,
|
|
"**/media": true,
|
|
"**/backups": true
|
|
}
|
|
}
|