Chore: Ruff linting updated and fixed errors.

Chore: Moved from poetry to uv
This commit is contained in:
2026-02-22 04:23:14 +00:00
parent 2b844bc44b
commit 34e30efcaf
36 changed files with 2174 additions and 4057 deletions

72
.vscode/settings.json vendored
View File

@ -1,25 +1,51 @@
{
"python.defaultInterpreterPath": "/home/tanshu/.cache/pypoetry/virtualenvs/barker-3ndhMgBR-py3.14/bin/python",
"files.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
},
"search.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
"**/package-lock.json": true,
},
"makefile.configureOnOpen": false,
"python-envs.pythonProjects": [],
/* --- Pylance: keep IntelliSense, disable type checking --- */
"python.analysis.typeCheckingMode": "off",
// "python.analysis.diagnosticMode": "openFilesOnly",
/* --- mypy: source of truth for typing --- */
"python.linting.enabled": true,
"python.linting.mypyEnabled": true
"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": []
}