Files
darth-veitcher-comfydv/pyproject.toml
T
James VeitchandClaude Sonnet 4.6 ca1c35a3cf docs: automate README screenshots with Playwright from live ComfyUI harness
Replace hand-crafted PowerPoint exports with Playwright-generated screenshots
taken from the actual running Docker test harness:

- scripts/take_screenshots.py: headless Chromium via Playwright; creates nodes
  programmatically via LiteGraph/window.app, triggers updateNodeConfig() for
  FormatString's dynamic socket update, then crops tightly around each node
- docs/assets/: four screenshots (fstring, jinja2, random, circuit_breaker)
  replacing the old 1920×1080 PowerPoint exports (90%+ smaller, more accurate)
- Justfile: add `screenshots` recipe (starts harness if needed, waits healthy,
  runs the script)
- README.md: rewrite to cover all three nodes including Circuit Breaker;
  fix stale dependency list (was listing rich/colorama/termcolor which we
  removed in spec 001); add ComfyUI Manager install path
- pyproject.toml + uv.lock: add playwright to [dev] dependencies

Run: just screenshots

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RWysE6jYn4YjNorLBQ1cXb
2026-06-28 21:52:45 +01:00

66 lines
1.5 KiB
TOML

[project]
name = "comfydv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "darth-veitcher", email = "1722315+darth-veitcher@users.noreply.github.com" }
]
dependencies = [
"aiohttp>=3.9.0",
"jinja2>=3.1.6",
]
[project.urls]
Repository = "https://github.com/darth-veitcher/comfydv"
Documentation = "https://darth-veitcher.github.io/comfydv/stable/"
[project.scripts]
comfydv = "comfydv:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"playwright>=1.60.0",
"pytest>=8.4.2",
"pytest-cov>=6.0.0",
"pyyaml>=6.0.2",
"torch>=2.9.0",
"torchvision>=0.24.0",
]
docs = [
"mike>=2.1.3",
"mkdocs>=1.6.1",
"mkdocs-gen-files>=0.5.0",
"mkdocs-literate-nav>=0.6.2",
"mkdocs-material>=9.6.9",
"mkdocs-section-index>=0.3.9",
"mkdocstrings[python]>=0.29.0",
"shtab>=1.7.1",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Note: Root __init__.py is excluded to avoid ComfyUI import issues during testing
norecursedirs = [".git", ".venv", "htmlcov", "docs"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--cov=src/comfydv",
"--cov-report=term-missing",
"--cov-report=html",
"--ignore=__init__.py",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
"slow: Slow tests",
]