[build-system] requires = ["setuptools>=70.0"] build-backend = "setuptools.build_meta" [project] name = "comfyui_sam3" version = "0.0.3" description = "Custom Nodes to work with SAM3" authors = [ {name = "Wouter Verweirder", email = "wouter.verweirder@gmail.com"} ] readme = "README.md" license = {text = "MIT license"} requires-python = ">=3.10" classifiers = [] dependencies = [ "decord>=0.6.0", "pycocotools>=2.0.10", "timm>=1.0.17", "numpy>=1.26", "tqdm", "ftfy==6.1.1", "regex", "iopath>=0.1.10", "typing_extensions", "huggingface_hub", "triton-windows; sys_platform == 'win32'", "triton; sys_platform != 'win32'", ] [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/wouterverweirder/comfyui_sam3" BugTracker = "https://github.com/wouterverweirder/comfyui_sam3/issues" Documentation = "https://github.com/wouterverweirder/comfyui_sam3/wiki" [tool.comfy] PublisherId = "wouter" DisplayName = "ComfyUI SAM3" Icon = "" Tags = [] Repository = "https://github.com/wouterverweirder/comfyui_sam3" 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"