Files
mcDandy-more_math/pyproject.toml
T
mcDandy 0ed4e75ca9 Bump version to 1.0.0 and update project description
Updated version and description to include STRING and GUIDER types.
2026-05-13 13:15:12 +02:00

88 lines
2.2 KiB
TOML

[build-system]
requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"
[project]
name = "more_math"
version = "1.0.0"
tooltip = "Adds math nodes for numbers and types which do not need it."
authors = [
{name = "Daniel Martinek", email = "danda.martinek@gmail.com"}
]
readme = "README.md"
license = {text = "GNU General Public License v3"}
classifiers = []
description = "Adds math nodes for FLOAT, STRING, CONDITIONING, LATENT, IMAGE, MASK, NOISE, AUDIO, VIDEO, MODEL, CLIP, VAE, SIGMAS, and GUIDER types and allows usage of math expressions with large number of functions and variables, not limited to inputs. List of those is on github of this extension."
dependencies = [
]
[project.optional-dependencies]
dev = [
"bump-my-version",
"coverage", # testing
"mypy", # linting
"pre-commit", # runs linting on commit
"pytest", # testing
"ruff", # linting
]
[project.urls]
bugs = "https://github.com/mcDandy/more_math/issues"
homepage = "https://github.com/mcDandy/more_math"
Repository = "https://github.com/mcDandy/more_math.git"
[tool.comfy]
PublisherId = "mkdaniel"
DisplayName = "More Math"
Icon = "https://raw.githubusercontent.com/mcDandy/more_math/60c026ecc2cd5f7600e82d87afbe795747e52890/icon.png"
[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"
[tool.ruff.lint.per-file-ignores]
"more_math/Parser/*.py" = ["F401", "F403", "F405"]