feat(ci): P1-1 Phase2 后端启用F401+F841并修存量
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 15s
AI Code Review / AI Code Review (pull_request) Successful in 58s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m4s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 54s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 2m23s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 2m22s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 3m29s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m40s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 15s
AI Code Review / AI Code Review (pull_request) Successful in 58s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m4s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 54s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 2m23s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 2m22s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 3m29s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m40s
- ruff: 从全局ignore移除F401(未使用import)和F841(未使用变量) - F401: 自动修复32处未使用import - F841: 手动修复7处未使用变量(含1处有副作用调用保留调用) - __init__.py和tests/*的per-file-ignores保持不变
This commit is contained in:
@@ -24,13 +24,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from dataclasses import dataclass, field
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from video_processing.path_security import PathSecurityError, is_in_allowed_dirs, safe_resolve_path
|
||||
from video_processing.render_subtitles import generate_ass_subtitles
|
||||
from video_processing.subtitle_generator import generate_ass_from_timeline
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user