style: 按 ruff 格式化登录队列代码并跳过已删除文件的推送检查
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ while read -r local_ref local_sha remote_ref remote_sha; do
|
||||
changed_paths="$(git diff --name-only "$remote_sha..$local_sha" -- '*.py')"
|
||||
fi
|
||||
while IFS= read -r path; do
|
||||
[ -n "$path" ] && python_files+=("$path")
|
||||
[ -n "$path" ] && [ -f "$path" ] && python_files+=("$path")
|
||||
done <<< "$changed_paths"
|
||||
done <<< "$push_lines"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user