fix: 修复 pre-commit hook 基于pyright 配置
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user