[build-system] requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] name = "SimpleSyrup" description = "Workflow-focused ComfyUI extensions for image generation." version = "1.13.0" license = "AGPL-3.0-or-later" license-files = ["LICENSE"] requires-python = ">=3.11" dynamic = ["dependencies"] classifiers = [ "Operating System :: OS Independent", "Environment :: GPU :: NVIDIA CUDA", ] [project.urls] Repository = "https://github.com/Artificial-Sweetener/SimpleSyrup" "Bug Tracker" = "https://github.com/Artificial-Sweetener/SimpleSyrup/issues" [tool.comfy] PublisherId = "artificialsweetener" DisplayName = "SimpleSyrup" Icon = "" includes = [] [tool.setuptools.dynamic] dependencies = { file = ["requirements.txt"] } [tool.setuptools.packages.find] include = ["simple_syrup*"] [tool.ruff] line-length = 88 target-version = "py311" extend-exclude = [ "simple_syrup/third_party/groundingdino_runtime", "simple_syrup/third_party/res4lyf_runtime", "simple_syrup/third_party/sam_hq_runtime", ] [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "C4", "ANN"] ignore = ["ANN401"] [tool.ruff.lint.isort] known-first-party = ["simple_syrup"] [tool.mypy] python_version = "3.12" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true disallow_incomplete_defs = true check_untyped_defs = true no_implicit_optional = true strict_equality = true explicit_package_bases = true mypy_path = ["tests"] exclude = [ "simple_syrup/third_party/groundingdino_runtime", "simple_syrup/third_party/res4lyf_runtime", "simple_syrup/third_party/sam_hq_runtime", ] [[tool.mypy.overrides]] module = ["comfy.*"] ignore_missing_imports = true [[tool.mypy.overrides]] module = ["simple_syrup.third_party.res4lyf_runtime.*"] follow_imports = "skip" [tool.pytest.ini_options] pythonpath = [".", "../.."] testpaths = ["tests"] addopts = ["--strict-markers", "--import-mode=importlib"] markers = [ "external_artifact: requires a locally installed external source or generated benchmark artifact", ] filterwarnings = [ "error", "ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning", "ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning", ]