Skip to content

Commit 4e85b59

Browse files
committed
fix: split E702 multi-statement lines; bump v1.9.1
1 parent 28b2dc1 commit 4e85b59

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,4 @@ __marimo__/
219219

220220
# Local DB scratch
221221
*.db
222-
param_history.db
222+
param_history.db

nodes/mec_paint_suite.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,15 @@ def execute(self, original_image, mask, inpainted_image,
466466
cx = (x0 + x1) * 0.5
467467
hh = (y1 - y0) * float(crop_padding) * 0.5
468468
ww = (x1 - x0) * float(crop_padding) * 0.5
469-
y0 = max(0, int(cy - hh)); y1 = min(H - 1, int(cy + hh))
470-
x0 = max(0, int(cx - ww)); x1 = min(W - 1, int(cx + ww))
469+
y0 = max(0, int(cy - hh))
470+
y1 = min(H - 1, int(cy + hh))
471+
x0 = max(0, int(cx - ww))
472+
x1 = min(W - 1, int(cx + ww))
471473
else:
472-
y0 = x0 = 0; y1 = H - 1; x1 = W - 1
474+
y0 = 0
475+
x0 = 0
476+
y1 = H - 1
477+
x1 = W - 1
473478

474479
# ---- region split for wildcard prompts ---------------------------
475480
labels, n_reg = _label_regions(m)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-customnodepacks"
33
description = "Custom node packs for ComfyUI: FolderIncrementer (auto-versioning) + MaskEditControl (pinpoint mask editing with SAM2/SAM3, per-axis erode/expand, point editor, bbox tools, video mask propagation)."
4-
version = "1.9.0"
4+
version = "1.9.1"
55
license = { file = "MIT-License" }
66
requires-python = ">=3.10"
77
readme = "README.md"

0 commit comments

Comments
 (0)