Files
douyi_guaji_main/final_check.txt
T
Your Name 478ae69052 chore: Clean up blank lines and enhance code organization
- Removed excessive blank lines from multiple Python scripts and configuration files to improve readability and maintainability.
- Ensured consistent formatting across the project, contributing to a more organized codebase.
- Added new files for testing and analysis, including `test_screenshot_error_handling.py` and `test_screenshot_reuse_optimization.py`, to improve testing coverage and functionality.
2026-01-01 10:04:32 +08:00

35 lines
15 KiB
Plaintext

c:\Users\12742\Desktop\douyin_guaji-main\douyin\core\douyin_fudai.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin\core\douyin_fudai.py:349:9 - error: Try 璇彞蹇呴』鑷冲皯鏈変竴涓?except 鎴?finally 瀛愬彞
c:\Users\12742\Desktop\douyin_guaji-main\douyin\fudai\core\fudai_attend.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin\fudai\core\fudai_attend.py:1373:19 - error: 鈥渁ttend_button_text鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\logging\douyin_logging_wrapper.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin\logging\douyin_logging_wrapper.py:24:31 - error: 绫诲瀷鈥渢ype[douyin.logging.error_logger.ErrorLogger]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€渢ype[douyin.logging.douyin_logging_wrapper.ErrorLogger]鈥? 聽聽鈥渄ouyin.logging.error_logger.ErrorLogger鈥濅笉鍙垎閰嶇粰鈥渄ouyin.logging.douyin_logging_wrapper.ErrorLogger鈥? 聽聽绫诲瀷鈥渢ype[douyin.logging.error_logger.ErrorLogger]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥渢ype[douyin.logging.douyin_logging_wrapper.ErrorLogger]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\logging\douyin_logging_wrapper.py:25:31 - error: 绫诲瀷鈥渢ype[douyin.logging.debug_logger.DebugLogger]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€渢ype[douyin.logging.douyin_logging_wrapper.DebugLogger]鈥? 聽聽鈥渄ouyin.logging.debug_logger.DebugLogger鈥濅笉鍙垎閰嶇粰鈥渄ouyin.logging.douyin_logging_wrapper.DebugLogger鈥? 聽聽绫诲瀷鈥渢ype[douyin.logging.debug_logger.DebugLogger]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥渢ype[douyin.logging.douyin_logging_wrapper.DebugLogger]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\logging\douyin_logging_wrapper.py:26:32 - error: 绫诲瀷鈥渢ype[douyin.logging.action_logger.ActionLogger]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€渢ype[douyin.logging.douyin_logging_wrapper.ActionLogger]鈥? 聽聽鈥渄ouyin.logging.action_logger.ActionLogger鈥濅笉鍙垎閰嶇粰鈥渄ouyin.logging.douyin_logging_wrapper.ActionLogger鈥? 聽聽绫诲瀷鈥渢ype[douyin.logging.action_logger.ActionLogger]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥渢ype[douyin.logging.douyin_logging_wrapper.ActionLogger]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\logging\douyin_logging_wrapper.py:27:38 - error: 绫诲瀷鈥渢ype[douyin.logging.performance_tracker.PerformanceTracker]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€渢ype[douyin.logging.douyin_logging_wrapper.PerformanceTracker]鈥? 聽聽鈥渄ouyin.logging.performance_tracker.PerformanceTracker鈥濅笉鍙垎閰嶇粰鈥渄ouyin.logging.douyin_logging_wrapper.PerformanceTracker鈥? 聽聽绫诲瀷鈥渢ype[douyin.logging.performance_tracker.PerformanceTracker]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥渢ype[douyin.logging.douyin_logging_wrapper.PerformanceTracker]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\reservation\douyin_reservation_logic.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin\reservation\douyin_reservation_logic.py:30:24 - error: 绫诲瀷鈥?write_callback: () -> None, analyser: Any | None = None, context: Dict[str, Any] | None = None) -> bool鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> None鈥? 聽聽绫诲瀷鈥?write_callback: () -> None, analyser: Any | None = None, context: Dict[str, Any] | None = None) -> bool鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> None鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"bool"涓庣被鍨?None"涓嶅吋瀹? 聽聽聽聽聽聽鈥渂ool鈥濅笉鍙垎閰嶇粰鈥淣one鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\reservation\douyin_reservation_logic.py:32:33 - error: 绫诲瀷鈥?item: ReservationItem) -> Tuple[bool, str | None]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> Literal[True]鈥? 聽聽绫诲瀷鈥?item: ReservationItem) -> Tuple[bool, str | None]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> Literal[True]鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"Tuple[bool, str | None]"涓庣被鍨?Literal[True]"涓嶅吋瀹? 聽聽聽聽聽聽鈥淭uple[bool, str | None]鈥濅笉鍙垎閰嶇粰鈥淟iteral[True]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:489:59 - error: 鈥渞oi_binary_adaptive_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:496:55 - error: 鈥渞oi_binary_otsu_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:503:56 - error: 鈥渞oi_edges_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:510:60 - error: 鈥渞oi_edges_aggressive_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:517:56 - error: 鈥渞oi_edges_morph_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:524:59 - error: 鈥渞oi_contrast_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin\stage\douyin_stage_handler.py:524:80 - error: 鈥渢pl_contrast_backup鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\error_log_viewer.py
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\error_log_viewer.py:13:26 - error: 绫诲瀷鈥?) -> str鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?) -> Literal['logs/error.log']鈥? 聽聽绫诲瀷鈥?) -> str鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?) -> Literal['logs/error.log']鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"str"涓庣被鍨?Literal['logs/error.log']"涓嶅吋瀹? 聽聽聽聽聽聽鈥渟tr鈥濅笉鍙垎閰嶇粰绫诲瀷鈥淟iteral['logs/error.log']鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:35:25 - error: 绫诲瀷鈥?action: str, details: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> Literal['']鈥? 聽聽绫诲瀷鈥?action: str, details: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> Literal['']鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"str"涓庣被鍨?Literal['']"涓嶅吋瀹? 聽聽聽聽聽聽鈥渟tr鈥濅笉鍙垎閰嶇粰绫诲瀷鈥淟iteral['']鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:36:24 - error: 绫诲瀷鈥?message: str, level: str = "DEBUG", tag: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> Literal['']鈥? 聽聽绫诲瀷鈥?message: str, level: str = "DEBUG", tag: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> Literal['']鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"str"涓庣被鍨?Literal['']"涓嶅吋瀹? 聽聽聽聽聽聽鈥渟tr鈥濅笉鍙垎閰嶇粰绫诲瀷鈥淟iteral['']鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:37:24 - error: 绫诲瀷鈥?message: str, level: str = "ERROR", tag: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> Literal['']鈥? 聽聽绫诲瀷鈥?message: str, level: str = "ERROR", tag: str | None = None, **fields: Any) -> str鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> Literal['']鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"str"涓庣被鍨?Literal['']"涓嶅吋瀹? 聽聽聽聽聽聽鈥渟tr鈥濅笉鍙垎閰嶇粰绫诲瀷鈥淟iteral['']鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:39:25 - error: 绫诲瀷鈥?line: str) -> str鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€?...) -> Literal['']鈥? 聽聽绫诲瀷鈥?line: str) -> str鈥濅笉鍙垎閰嶇粰绫诲瀷鈥?...) -> Literal['']鈥? 聽聽聽聽鍑芥暟杩斿洖绫诲瀷"str"涓庣被鍨?Literal['']"涓嶅吋瀹? 聽聽聽聽聽聽鈥渟tr鈥濅笉鍙垎閰嶇粰绫诲瀷鈥淟iteral['']鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:40:26 - error: 绫诲瀷鈥渢ype[douyin.logging.performance_tracker.PerformanceTracker]鈥濅笉鍙垎閰嶇粰澹版槑鐨勭被鍨嬧€渢ype[gui.components.log_viewer.PerformanceTracker]鈥? 聽聽鈥渄ouyin.logging.performance_tracker.PerformanceTracker鈥濅笉鍙垎閰嶇粰鈥済ui.components.log_viewer.PerformanceTracker鈥? 聽聽绫诲瀷鈥渢ype[douyin.logging.performance_tracker.PerformanceTracker]鈥濅笉鍙垎閰嶇粰绫诲瀷鈥渢ype[gui.components.log_viewer.PerformanceTracker]鈥?(reportAssignmentType)
c:\Users\12742\Desktop\douyin_guaji-main\gui\components\log_viewer.py:58:10 - error: 鏃犳硶瑙f瀽瀵煎叆鈥渃onfig.config_manager鈥?(reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\test_screenshot_service_ocr_simple.py
c:\Users\12742\Desktop\douyin_guaji-main\test_screenshot_service_ocr_simple.py:66:29 - error: 鈥渟ig鈥濆彲鑳芥湭缁戝畾 (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\tools\pick_coords.py
c:\Users\12742\Desktop\douyin_guaji-main\tools\pick_coords.py:15:10 - error: 鏃犳硶瑙f瀽瀵煎叆鈥渢kinterdnd2鈥?(reportMissingImports)
24 errors, 0 warnings, 0 informations