chore: add mise format and lint tasks (ruff + Biome)

Tools are pinned in mise.toml. ruff.toml points first-party detection at backend/, since the frontend's src/auth, src/books and src/notes otherwise get matched as first-party. biome.json uses spaces to match the existing Prettier-style formatting. Also combines a nested with in test_passwords.py (ruff SIM117).
This commit is contained in:
2026-10-02 15:06:56 -05:00
parent 0801a69cc0
commit d9b824851a
4 changed files with 41 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
# The backend imports its modules as top-level names (`import db`). Without this, ruff's
# first-party detection matches the frontend's src/auth, src/books, src/notes directories
# instead, and splits backend imports into two groups.
src = ["backend"]