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.
This commit is contained in:
Your Name committed 2026-01-01 10:04:32 +08:00
1 parent 7db9864848
commit 478ae69052
85 files changed
+2879 -383

No files matched your search

+3 -2
View File
@@ -31,8 +31,9 @@ if os.path.exists(target_dir):
# 实时显示输出
process = subprocess.Popen(cmd, encoding='utf-8', stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
text=True, env=env, bufsize=1, universal_newlines=True)
for line in process.stdout:
print(line, end='')
if process.stdout:
for line in process.stdout:
print(line, end='')
process.wait()
print(f"\n退出码: {process.returncode}")
else: