refactor: align repo layout and logging safeguards

This commit is contained in:
qzl
2026-01-29 17:02:09 +08:00
parent 6af0989fe7
commit c2e65fa157
56 changed files with 1881 additions and 890 deletions
+13
View File
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/DetachHead/basedpyright-prek-mirror
rev: 1.37.2
hooks:
- id: basedpyright
args: [--level=error]
files: ^api/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
- id: ruff
files: ^api/