6 Commits
Author SHA1 Message Date
CoCoandClaude Opus 4.6 62b62d2a96 chore: add ruff config and fix 573 linting issues
- Add ruff configuration to pyproject.toml (py310, 120 char lines)
- Fix trailing whitespace (W291/W293), modernize type annotations (UP006/UP045)
- Remove unused imports (F401), simplify dict iteration (SIM118)
- Use f-string conversion flags (RUF010), modernize exception aliases (UP024)
- Replace try/except pass with contextlib.suppress (SIM105)
- Prefix unused variables with underscore (F841/RUF059)
- Convert lambdas to def statements (E731)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 22:06:33 +00:00
CoCoandClaude Opus 4.6 f159fe313c feat: add bit depth estimation to histogram node
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:53:48 +00:00
CoCoandClaude Opus 4.6 5138e511ac fix: downgrade verbose logging from INFO to DEBUG across all nodes
Step-by-step processing details were flooding the console during normal
ComfyUI operation. Demote ~45 info-level logs to debug, consolidate
multi-line error blocks, and remove redundant duplicate messages. Only
one clean summary line per major node operation remains at INFO level.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:24:53 +00:00
CoCoandClaude Opus 4.6 9c49cf9905 fix: report original channel count in histogram image_info
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 16:04:12 +00:00
CoCoandClaude Opus 4.6 dd7d5524de fix: add error handling and fix dead code in histogram node
- Wrap execute body in try/except with error logging
- Handle < 3 channel edge case by repeating channels
- Remove dead-code guard on bins assignment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:52:46 +00:00
CoCoandClaude Opus 4.6 a929a3cee5 feat: add V3 histogram node backend
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:48:15 +00:00