- Create tests/ directory with proper Python package structure - Add test_color_utils.py with extensive test coverage for parse_color_string function - Test all supported color formats: - HEX formats: #RGB, #RGBA, #RRGGBB, #RRGGBBAA - RGB comma-separated formats: "R,G,B" and "R,G,B,A" - Edge cases: black, white, transparent colors - Case-insensitive HEX parsing - Whitespace handling in all formats - Test comprehensive error handling for invalid inputs: - Invalid HEX characters and lengths - Out-of-range RGB values (negative and >255) - Invalid RGB format (wrong number of values) - Non-numeric RGB values - Unsupported color formats - Non-string inputs - Update project configuration: - Bump version to 1.2.1 in pyproject.toml - Add git commit reminder to CLAUDE.md - All tests use proper assertions with floating-point precision handling - Tests designed to validate both successful parsing and proper error reporting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
598 B
TOML
23 lines
598 B
TOML
[project]
|
|
name = "comfyui-depthflow-nodes"
|
|
description = "Implementation of DepthFlow nodes for ComfyUI, adds a 2.5D parallax effect to images and videos. Compatible with Ryan's Flex system."
|
|
version = "1.2.1"
|
|
license = {file = "LICENSE"}
|
|
dependencies = [
|
|
"depthflow==0.9.1",
|
|
"pydantic",
|
|
"numpy"
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/akatz-ai/ComfyUI-Depthflow-Nodes"
|
|
# Used by Comfy Registry https://comfyregistry.org
|
|
|
|
[tool.comfy]
|
|
PublisherId = "akatz"
|
|
DisplayName = "ComfyUI-Depthflow-Nodes"
|
|
Icon = "https://i.imgur.com/aiqQI7U.png"
|
|
|
|
[tool.ruff.format]
|
|
exclude = ["*"]
|