Refactor with updates

Updated project description, license format, and display name. Added new dependencies and cleaned up optional dependencies.
This commit is contained in:
Claire Vlases
2026-06-11 17:58:00 -04:00
committed by GitHub
parent 39207c03c9
commit 9fe6407cba
+13 -21
View File
@@ -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]