[project] | |
name = "ImageAlfred" | |
version = "0.1.0" | |
description = "Alfred of Images: An MCP server to handle your image edits." | |
authors = ["Mahan-ym, Soodoo"] | |
license = "Apache-2.0" | |
requires-python = ">=3.12" | |
dependencies = [ | |
"gradio[mcp]>=5.32.1", | |
"modal>=1.0.2", | |
"numpy>=2.2.6", | |
"pillow>=11.2.1", | |
] | |
[dependency-groups] | |
dev = [ | |
"jupyterlab>=4.4.3", | |
"matplotlib>=3.10.3", | |
"opencv-contrib-python>=4.11.0.86", | |
"rapidfuzz>=3.13.0", | |
"ruff>=0.11.12", | |
"supervision>=0.25.1", | |
] | |
[tool.ruff] | |
exclude = [ | |
".bzr", | |
".direnv", | |
".eggs", | |
".git", | |
".git-rewrite", | |
".hg", | |
".mypy_cache", | |
".nox", | |
".pants.d", | |
".pytype", | |
"*.ipynb", | |
".ruff_cache", | |
".svn", | |
".tox", | |
".venv", | |
"__pypackages__", | |
"_build", | |
"buck-out", | |
"build", | |
"dist", | |
"node_modules", | |
"venv", | |
] | |
target-version = "py312" | |
line-length = 88 | |
indent-width = 4 | |
[tool.ruff.lint] | |
select = [ | |
"I", | |
"E", | |
# "F", | |
] | |
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" | |
[tool.ruff.format] | |
# Automatically detect the appropriate line ending. | |
line-ending = "auto" | |