Fix whitespace issues and clean up lint warnings across codebase #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
fix_whitespace.pyto automatically fix whitespace lint issues W293 (blank line contains whitespace) and W291 (trailing whitespace) in Python files.Changes
New Script
fix_whitespace.py: Scans all Python files recursively, fixes whitespace issues, and reports summary.Code Cleanup
build_all_platforms.py,build_installer/tray_app.py,build_installer/universal_document_converter.py,cli.py,cli_ocr.py,convert_recursive.py,convert_to_markdown.py,create_desktop_shortcut.py,create_executable.py,create_icon.py,create_installer.py,create_simple_installer.py,create_windows_installer.py,cross_platformmodules,demo_system_tray.py,direct_launch.py,document_converter_gui.py,enhanced_system_tray.py,gui_ocr.py,install_converter.py,ocr_engine.py,ocr_engine/format_detector.py,ocr_engine/image_processor.py,ocr_engine/ocr_engine.py.Test plan
fix_whitespace.pyto verify it correctly identifies and fixes whitespace issues.🌿 Generated by Terry
ℹ️ Tag @terragon-labs to ask questions and address PR feedback
📎 Task: https://www.terragonlabs.com/task/ad8f7234-9800-4ba1-a269-c8dd9ea5e371