Files
ComfyAssets-ComfyUI-KikoTools/pyproject.toml
T
Vito Sansevero 78eb4f6770 chore(release): 1.4.0 with a Registry package that has its nodes
- Anchor every .comfyignore rule to the root, as in ComfyUI-PromptManager.
  The unanchored "tools/" also matched kikotools/tools/, so the Registry
  packages for 1.2.0 to 1.3.1 shipped without the tool modules
- Leave docs/ and examples/ out of the package too; they are only read
  on GitHub (8.5 MB down to about 0.26 MB)
- Add tests/unit/test_package_contents.py, which holds the rules to what
  ComfyUI needs at run time, checked with comfy-cli's own matcher as well
- Ship the Local Image Loader folder output and the Model Downloader
  server-side tokens already on main
- Bump pyproject.toml to 1.4.0 and date the changelog section
2026-11-07 04:28:27 -08:00

93 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kikotools"
description = "Simple tools for ComfyUI"
version = "1.4.0"
license = {text = "MIT"}
dependencies = []
[project.optional-dependencies]
dev = [
# Testing framework
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.15.1",
"pytest-asyncio>=0.21.0",
"aiohttp>=3.8.0",
# Code quality
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.20.0",
# Development utilities
"pre-commit>=4.5.1",
# ComfyUI testing (mock dependencies for unit tests)
"torch>=2.11.0",
"numpy>=1.24.0",
"pillow>=12.2.0"
]
[project.urls]
Repository = "https://github.com/ComfyAssets/ComfyUI-KikoTools"
# Used by Comfy Registry https://registry.comfy.org
[tool.setuptools.packages.find]
include = ["kikotools*"]
exclude = ["tests*", "web*"]
[tool.setuptools.package-data]
kikotools = ["**/*.json"]
[tool.comfy]
PublisherId = "kiko9"
DisplayName = "ComfyUI-KikoTools"
Icon = "https://avatars.githubusercontent.com/u/213204677?s=200"
includes = []
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
no_strict_optional = true
files = ["kikotools"]
exclude = ["tests"]
[tool.coverage.run]
branch = true
source = ["kikotools"]
omit = ["*/tests/*", "*/__init__.py"]
[tool.coverage.report]
fail_under = 85
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if False:"
]