Files
sammykumar-ComfyUI-SwissArm…/pyproject.toml
T
Sam Kumar 4ccb6a3f22 ✨ (audit_logger): introduce AuditLogger class for structured logging of job audit events
♻️ (imports): refactor import statements to use relative imports for consistency
📝 (gitignore): update .gitignore to exclude specific directories and files
🔧 (pyproject.toml): update package configuration to include "routes" package
📝 (init.py): remove unused code and clean up __init__.py for better readability
2025-12-15 17:33:09 -05:00

89 lines
2.0 KiB
TOML

[build-system]
requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ComfyUI-SwissArmyKnife"
version = "3.0.0"
description = "A collection of custom nodes for ComfyUI"
authors = [
{name = "Sam Kumar", email = "sam@skproductions.llc"}
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Operating System :: OS Independent",
"Environment :: GPU :: NVIDIA CUDA",
"Environment :: GPU :: AMD ROCm",
"Environment :: GPU :: Apple Metal",
]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.optional-dependencies]
dev = [
"black", # code formatting
"bump-my-version",
"coverage", # testing
"mypy", # type checking
"pre-commit", # runs linting on commit
"pytest", # testing
"pytest-cov", # coverage reporting
"ruff", # linting
]
[project.urls]
Repository = "https://github.com/sammykumar/ComfyUI-SwissArmyKnife"
BugTracker = "https://github.com/sammykumar/ComfyUI-SwissArmyKnife/issues"
Documentation = "https://github.com/sammykumar/ComfyUI-SwissArmyKnife/wiki"
[tool.comfy]
PublisherId = "lambo-sam"
DisplayName = "Swiss Army Knife"
includes = ["dist/"]
[tool.setuptools]
packages = ["nodes", "routes"]
[tool.setuptools.package-data]
"*" = ["web/js/*.js"]
[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.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"