fix: flake8 E741 ambiguous variable name 'l' in PiP engine
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1541h17m43s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1541h17m44s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1541h17m44s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1541h17m47s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1541h17m47s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1541h49m21s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1541h17m43s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1541h17m44s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1541h17m44s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1541h17m47s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1541h17m47s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1541h49m21s
This commit is contained in:
@@ -179,7 +179,7 @@ class PiPConfig:
|
||||
logger.warning("PiP图层解析失败,跳过: %s", e)
|
||||
|
||||
# 按 z_index 排序
|
||||
layers.sort(key=lambda l: l.z_index)
|
||||
layers.sort(key=lambda layer: layer.z_index)
|
||||
|
||||
return cls(enabled=bool(layers), layers=layers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user