Skip to content

Commit f0238e2

Browse files
Code2Collapseclaude
andcommitted
fix: strip leading UTF-8 BOM from 17 .py files
17 files (incl. __init__.py) began with a U+FEFF BOM. Python's importer tolerates a leading BOM so they loaded, but it breaks ast/lint tooling and is non-portable. Stripped — files are byte-identical otherwise. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit afa789e)
1 parent de95432 commit f0238e2

17 files changed

Lines changed: 17 additions & 17 deletions

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
ComfyUI-CustomNodePacks
33
=======================
44
A growing collection of custom nodes:

nodes/_c2c_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
_c2c_registry.py — central record of every optional component the pack
33
tried to load, why it failed, and how a user could fix it.
44

nodes/background_remover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
BackgroundRemoverMEC – One-click background removal using RMBG-2.0 or BiRefNet.
33
44
Models supported:

nodes/face_pose_delta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""face_pose_delta.py — Flagship #2: Face / Pose Delta Editor backend.
1+
"""face_pose_delta.py — Flagship #2: Face / Pose Delta Editor backend.
22
33
The user's vision (see ``third_party/ideas_summary.md §5``):
44

nodes/inpaint_suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
InpaintSuiteMEC — Inpaint Crop Pro + Stitch Pro + Mask Prepare.
33
44
Three nodes for professional inpainting workflows:

nodes/luminance_keyer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
LuminanceKeyerMEC – Professional luminance keyer inspired by Nuke's LumaKeyer.
33
44
Computes ITU-R BT.709 luminance from an input image, then extracts a matte

nodes/mask_failure_explainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
MaskFailureExplainerMEC – Diagnose why a mask failed and suggest fixes.
33
44
Input: image (B,H,W,C), mask (B,H,W) of unknown quality.

nodes/mask_propagate_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
MaskPropagateVideo – Draw/define a mask on one frame and propagate it
33
across a video sequence. Supports static copy, motion-compensated
44
propagation (optical flow), and SAM2 video-propagation mode.

nodes/mec_diagnostics_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
mec_diagnostics_api.py — Backend for the MEC Diagnostics sidebar.
33
44
Doctor-style endpoints exposed under `/mec/diagnostics/*`:

nodes/prompt_relay/_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prompt Relay — node classes (refined port).
1+
# Prompt Relay — node classes (refined port).
22
#
33
# Four nodes registered:
44
# - PromptRelayEncodeC2C : native MODEL+CLIP path

0 commit comments

Comments
 (0)