Files
Xyc2016-Comfyui_Fd_Nodes/pyproject.toml
T
2026-05-25 18:21:33 +08:00

87 lines
1.9 KiB
TOML

[build-system]
requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"
[project]
name = "Comfyui_Fd_Nodes"
version = "53.2.0" # 999开头的版本是debug版
description = "Custom nodes for fd project"
authors = [
{name = "xuyucai", email = "986327386@qq.com"}
]
readme = "README.md"
license = {text = "GNU General Public License v3"}
requires-python = "~=3.12.0"
classifiers = []
dependencies = [
"comfy-cli>=1.5.3"
]
[project.optional-dependencies]
dev = [
"bump-my-version",
"coverage", # testing
"mypy", # linting
"pre-commit", # runs linting on commit
"pytest", # testing
"ruff", # linting
]
[project.urls]
Repository = "https://github.com/Xyc2016/Comfyui_Fd_Nodes"
BugTracker = "https://github.com/Xyc2016/Comfyui_Fd_Nodes/issues"
Documentation = "https://github.com/Xyc2016/Comfyui_Fd_Nodes/wiki"
[tool.comfy]
PublisherId = "xuyucai"
DisplayName = "comfyui-fd-nodes"
Icon = ""
Tags = []
Repository = "https://github.com/Xyc2016/Comfyui_Fd_Nodes"
includes = []
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = [
"tests",
]
[tool.mypy]
files = "."
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"
[tool.ruff]
# extend-exclude = ["static", "ci/templates"]
line-length = 140
src = ["src", "tests"]
target-version = "py39"
# Add rules to ban exec/eval
[tool.ruff.lint]
select = [
"S102", # exec-builtin
"S307", # eval-used
"W293",
"F", # The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"