From 9fe6407cba27276f61672f173997d2cefb06ba75 Mon Sep 17 00:00:00 2001 From: Claire Vlases <99672427+cvlases@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:58:00 -0400 Subject: [PATCH] Refactor with updates Updated project description, license format, and display name. Added new dependencies and cleaned up optional dependencies. --- pyproject.toml | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 332a29f..15be1d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,28 +5,28 @@ build-backend = "setuptools.build_meta" [project] name = "creative_code" version = "1.0.1" -description = "explainable AI for comfy" +description = "Gradient-based saliency visualization nodes for ComfyUI. Includes a single-method visualizer, a six-method comparison grid, and an art-focused composition node with colormaps and blend modes." authors = [ {name = "Claire Vlases", email = "clairevlases@gmail.com"} ] readme = "README.md" -license = {text = "MIT license"} +license = {text = "MIT"} requires-python = ">=3.10" classifiers = [] dependencies = [ "saliency", + "torchvision", + "matplotlib", ] - - [project.optional-dependencies] dev = [ "bump-my-version", - "coverage", # testing - "mypy", # linting - "pre-commit", # runs linting on commit - "pytest", # testing - "ruff", # linting + "coverage", + "mypy", + "pre-commit", + "pytest", + "ruff", ] [project.urls] @@ -34,14 +34,12 @@ Repository = "https://github.com/cvlases/creative_code" BugTracker = "https://github.com/cvlases/creative_code/issues" Documentation = "https://github.com/cvlases/creative_code/wiki" - [tool.comfy] PublisherId = "clorb" -DisplayName = "creative-code" +DisplayName = "Algorithmic Attention" Icon = "" Tags = [] Repository = "https://github.com/cvlases/creative_code" -includes = ["dist/"] [tool.setuptools.package-data] "*" = ["*.*"] @@ -54,32 +52,26 @@ testpaths = [ [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 + "S102", + "S307", "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 + "F", ] [tool.ruff.lint.flake8-quotes]