Skip to content

Clean all trailing whitespace from Python source files#33

Merged
mp-007 merged 3 commits into
cleanupfrom
copilot/remove-extra-spaces-src
Oct 22, 2025
Merged

Clean all trailing whitespace from Python source files#33
mp-007 merged 3 commits into
cleanupfrom
copilot/remove-extra-spaces-src

Conversation

Copilot AI commented Oct 22, 2025

Copy link
Copy Markdown

Overview

This PR removes all trailing whitespace from Python source files in the kivy_matplotlib_widget directory, improving code quality and consistency with Python style guidelines.

Changes

  • Removed trailing whitespace from 3,403 lines across 16 Python files
  • Cleaned blank lines that contained only whitespace characters
  • No functional changes - only whitespace cleanup

Files Modified

Tools Module (4 files)

  • kivy_matplotlib_widget/tools/clipboard_tool.py
  • kivy_matplotlib_widget/tools/cursors.py
  • kivy_matplotlib_widget/tools/interactive_converter.py
  • kivy_matplotlib_widget/tools/pick_info.py

UIX Module (12 files)

  • kivy_matplotlib_widget/uix/graph_subplot_widget.py
  • kivy_matplotlib_widget/uix/graph_widget.py
  • kivy_matplotlib_widget/uix/graph_widget_3d.py
  • kivy_matplotlib_widget/uix/graph_widget_crop_factor.py
  • kivy_matplotlib_widget/uix/graph_widget_general.py
  • kivy_matplotlib_widget/uix/graph_widget_scatter.py
  • kivy_matplotlib_widget/uix/graph_widget_twinx.py
  • kivy_matplotlib_widget/uix/hover_widget.py
  • kivy_matplotlib_widget/uix/legend_widget.py
  • kivy_matplotlib_widget/uix/minmax_widget.py
  • kivy_matplotlib_widget/uix/navigation_bar_widget.py
  • kivy_matplotlib_widget/uix/selector_widget.py

Verification

✅ All Python files pass syntax validation
✅ No functional code changes
✅ CodeQL security scan: 0 alerts
✅ Zero remaining trailing whitespace in source files

Benefits

  • Cleaner diffs in future PRs
  • Consistent code formatting
  • Prevents editor warnings about trailing whitespace
  • Follows Python PEP 8 style guidelines
Original prompt

clean all extra spaces in file in src


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…idget

Co-authored-by: mp-007 <19823482+mp-007@users.noreply.github.com>
Copilot AI changed the title [WIP] Clean all extra spaces in src files Clean all trailing whitespace from Python source files Oct 22, 2025
Copilot AI requested a review from mp-007 October 22, 2025 02:48
# Conflicts:
#	kivy_matplotlib_widget/tools/interactive_converter.py
#	kivy_matplotlib_widget/uix/hover_widget.py
#	kivy_matplotlib_widget/uix/minmax_widget.py
#	kivy_matplotlib_widget/uix/navigation_bar_widget.py
@mp-007 mp-007 marked this pull request as ready for review October 22, 2025 14:18
@mp-007 mp-007 merged commit 0ac811e into cleanup Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants