fix: 修复 pre-commit hook 基于pyright 配置

This commit is contained in:
qzl
2026-04-08 18:00:08 +08:00
parent 8cf0011720
commit 17a1303f00
7 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ repos:
- id: backend-basedpyright
name: backend basedpyright check
entry: uv run basedpyright backend/src
entry: bash -c "uv run basedpyright --level error backend/src 2>/dev/null"
language: system
pass_filenames: false
files: ^backend/