Files
StyleRef-styleref-comfyui/pyproject.toml
T
BehzadandClaude Sonnet 5 29c9edd562 1.0.1 — model-agnostic description, working icon
Two things wrong on the Registry listing.

The description promised "reuse it across FLUX, SDXL, and SD1.5", which reads
as though the pack only targets those three. It is model-agnostic: a style
compiles for whatever target you pick, and FLUX and Z-Image are the models the
shipped templates happen to demo. Now matches the GitHub repo description. The
same model-specific phrasing is out of the README opening and the module
docstring; the Targets section still names models, which is factual there.

The icon pointed at https://styleref.io/icon.png, which 404s — hence the broken
image on the listing. Points at the 512x512 StyleRef mark instead. Its
background is opaque white rather than transparent, so a black mark stays
legible on the Registry's dark UI.

Metadata is read from the published version, so a release is the only way for
either fix to reach the listing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 14:28:18 +02:00

64 lines
2.2 KiB
TOML

[project]
name = "styleref-comfyui"
version = "1.0.1"
description = "StyleRef nodes for ComfyUI — load a creative style once, reuse it across your workflows"
authors = [{ name = "StyleRef", email = "hello@styleref.io" }]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9" # ComfyUI's own floor; do not raise without checking theirs
# No runtime dependencies on purpose. The pack imports with only the standard
# library; the Reference Images node uses Pillow/numpy lazily at execution
# time, which every ComfyUI install already ships. Declaring a dependency here
# is the most common way a custom node pack fails to import on someone's
# portable build.
dependencies = []
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Intended Audience :: End Users/Desktop",
]
[project.urls]
Homepage = "https://styleref.io"
Documentation = "https://docs.styleref.io/connectors/comfyui/install-and-quickstart"
Repository = "https://github.com/StyleRef/styleref-comfyui"
"Bug Tracker" = "https://github.com/StyleRef/styleref-comfyui/issues"
[project.optional-dependencies]
dev = ["pytest>=7", "ruff>=0.5", "pillow", "numpy"]
# Comfy Registry metadata (https://docs.comfy.org/registry/overview)
[tool.comfy]
PublisherId = "styleref"
DisplayName = "StyleRef"
Icon = "https://styleref.io/android-chrome-512x512.png"
Repository = "https://github.com/StyleRef/styleref-comfyui"
includes = []
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "BLE"]
ignore = [
"E501", # line length is enforced by the formatter, not the linter
"UP007", # X | Y syntax is gated on the 3.9 floor above
# The pack directory is named after the repo, and ComfyUI discovers custom
# nodes by directory name — renaming it to satisfy the linter would change
# the install path users already have.
"N999",
]
[tool.ruff.lint.per-file-ignores]
# Tests reach into private helpers deliberately, and ComfyUI's INPUT_TYPES is a
# fixed uppercase name we cannot rename.
"tests/*" = ["SLF001", "N802"]
"styleref_nodes/*" = ["N802"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]