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/ruff.toml Normal file
View File

@@ -0,0 +1,10 @@
line-length = 240
target-version = "py312"
[lint]
select = ["E", "F", "I", "UP"]
ignore = []
[format]
quote-style = "double"
indent-style = "space"