61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"python.defaultInterpreterPath": "/home/tanshu/programming/barker/barker/.venv/bin/python",
|
|
"python.terminal.useEnvFile": true,
|
|
"python.interpreterPath": "/home/tanshu/programming/barker/barker/.venv/bin/python",
|
|
"python.venvFolders": [
|
|
"barker/.venv",
|
|
".venv"
|
|
],
|
|
"python.venvPath": "${workspaceFolder}/barker",
|
|
"python.terminal.activateEnvironment": true,
|
|
// Quality-of-life
|
|
/* --- Pylance: keep IntelliSense, disable type checking --- */
|
|
// "python.analysis.typeCheckingMode": "off",
|
|
// "python.analysis.diagnosticMode": "openFilesOnly",
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.analysis.extraPaths": [
|
|
"${workspaceFolder}/barker",
|
|
"./barker"
|
|
],
|
|
"python.autoComplete.extraPaths": [
|
|
"${workspaceFolder}/barker",
|
|
"./barker"
|
|
],
|
|
// Ruff (you have ruff installed via uv)
|
|
"editor.formatOnSave": true,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
},
|
|
"files.eol": "\n",
|
|
"eslint.workingDirectories": [
|
|
{
|
|
"directory": "bookie",
|
|
"changeProcessCWD": true
|
|
}
|
|
],
|
|
"makefile.configureOnOpen": false,
|
|
"files.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/.mypy_cache": true,
|
|
".idea": true,
|
|
"**/node_modules": true,
|
|
"**/.venv": true,
|
|
"typings": true
|
|
},
|
|
"search.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/.mypy_cache": true,
|
|
".idea": true,
|
|
"**/node_modules": true,
|
|
"**/uv.lock": true,
|
|
"**/package-lock.json": true,
|
|
"/bookie/.angular/**": true,
|
|
"**/.venv": true,
|
|
"typings": true
|
|
},
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": "always",
|
|
"source.fixAll.eslint": "always"
|
|
}
|
|
}
|