chore: use ruff to lint and auto-format

This commit is contained in:
Henry Li
2026-01-14 09:08:20 +08:00
parent 7dc063ba25
commit cb611f9270
12 changed files with 85 additions and 35 deletions

10
backend/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
}
}