Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ repos:
args: [ --fix ]
# Run the formatter.
- id: ruff-format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.6.0
hooks:
- id: pyproject-fmt
55 changes: 28 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,41 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

requires = [ "setuptools>=61" ]

[project]
name = "comfy-cli"
license = { text = "GPL-3.0-only" }
version = "0.0.0" # Will be filled in by the CI/CD pipeline. Check publish_package.py.
requires-python = ">= 3.9"
description = "A CLI tool for installing and using ComfyUI."
readme = "README.md"
keywords = ["comfyui", "stable diffusion"]
keywords = [ "comfyui", "stable diffusion" ]

license = { text = "GPL-3.0-only" }
maintainers = [
{ name = "Yoland Yan", email = "[email protected]" },
{ name = "James Kwon", email = "[email protected]" },
{ name = "Robin Huang", email = "[email protected]" },
{ name = "Dr.Lt.Data", email = "[email protected]" },
]

requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

dependencies = [
"charset-normalizer>=3.0.0",
"GitPython",
"charset-normalizer>=3",
"click<=8.1.8",
"cookiecutter",
"gitpython",
"httpx",
"mixpanel",
"packaging",
Expand All @@ -36,38 +45,30 @@ dependencies = [
"questionary",
"requests",
"rich",
"ruff",
"semver~=3.0.2",
"tomlkit",
"typer>=0.9.0",
"typing-extensions>=4.7.0",
"typer>=0.9",
"typing-extensions>=4.7",
"uv",
"websocket-client",
"ruff",
"semver~=3.0.2",
"cookiecutter",
"click<=8.1.8"
]

[project.optional-dependencies]
dev = ["pre-commit", "pytest", "ruff", "pytest-cov"]

[project.scripts]
comfy = "comfy_cli.__main__:main"
comfy-cli = "comfy_cli.__main__:main"
comfycli = "comfy_cli.__main__:main"

[project.urls]
Repository = "https://github.com/drip-art/comfy-cli.git"
optional-dependencies.dev = [ "pre-commit", "pytest", "pytest-cov", "ruff" ]
urls.Repository = "https://github.com/drip-art/comfy-cli.git"
scripts.comfy = "comfy_cli.__main__:main"
scripts.comfy-cli = "comfy_cli.__main__:main"
scripts.comfycli = "comfy_cli.__main__:main"

[tool.setuptools.packages.find]
where = ["."]
include = ["comfy_cli*"]
where = [ "." ]
include = [ "comfy_cli*" ]

[tool.ruff]
line-length = 120
target-version = "py39"

[tool.ruff.lint]
select = [
line-length = 120
lint.select = [
"E4", # default
"E7", # default
"E9", # default
Expand Down
1 change: 1 addition & 0 deletions tests/uv/mock_comfy/custom_nodes/x/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions tests/uv/mock_comfy/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@