Skip to content

Fix/Update Python scripts - #27533

Merged
thinkyhead merged 4 commits into
MarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-November1
Nov 25, 2024
Merged

Fix/Update Python scripts#27533
thinkyhead merged 4 commits into
MarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-November1

Conversation

@classicrocker883

@classicrocker883 classicrocker883 commented Nov 16, 2024

Copy link
Copy Markdown
Contributor

Description

Update schema.py to work better:

  • Utilize prev_comment
  • Delete blank comments from output file
  • Change to last_added_ref = {} because was giving an error: Object of type "None" is not subscriptable

Requirements

Benefits

better readability in scripts,

less cluttered output file + adds additional comment which went unused.

Configurations

Related Issues

Comment thread Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py Outdated
Comment thread buildroot/share/PlatformIO/scripts/schema.py Outdated
@thinkyhead thinkyhead added T: Development Makefiles, PlatformIO, Python scripts, etc. PR: General Cleanup labels Nov 25, 2024
@thinkyhead
thinkyhead merged commit a7bd35b into MarlinFirmware:bugfix-2.1.x Nov 25, 2024
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: General Cleanup T: Development Makefiles, PlatformIO, Python scripts, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants