Fix CI: lint line-length, lockfile detached HEAD, release disk exhaustion
- quality.py:122: split long tuple line to satisfy E501 (146 → ≤120) - update-lockfile.yml: add branches filter so tag pushes don't trigger the workflow (tag checkout is detached HEAD; git push has no target) - release.yml: split four Docker build steps into parallel jobs (build-gpu, build-cpu, build-rocm, build-intel), each with its own runner; previously all four ran in one job and exhausted disk after GPU+CPU builds, leaving ROCm and Intel cancelled Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -119,7 +119,10 @@ def assess_quality(
|
||||
blur_score = float(cv2.Laplacian(gray, cv2.CV_64F).var())
|
||||
|
||||
checks = [
|
||||
(blur_score >= blur_threshold, f"Blurry (laplacian={blur_score:.1f}, threshold={blur_threshold})" if blur_score < blur_threshold else ""),
|
||||
(
|
||||
blur_score >= blur_threshold,
|
||||
f"Blurry (laplacian={blur_score:.1f}, threshold={blur_threshold})" if blur_score < blur_threshold else "",
|
||||
),
|
||||
check_grayscale(img_np),
|
||||
check_exposure(img_np),
|
||||
check_confidence(confidence, min_confidence),
|
||||
|
||||
Reference in New Issue
Block a user