52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/barker/.venv/bin/python",
|
|
"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": [
|
|
"./barker"
|
|
],
|
|
// Ruff (you have ruff installed via poetry)
|
|
"editor.formatOnSave": true,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
},
|
|
"ruff.enable": true,
|
|
"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",
|
|
},
|
|
"python-envs.defaultEnvManager": "ms-python.python:venv",
|
|
"python-envs.pythonProjects": []
|
|
}
|