File size: 1,172 Bytes
bbdb110 e619418 bbdb110 e619418 bbdb110 4ec1154 f80b6ec bbdb110 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
[project]
name = "eraser"
version = "0.1.0"
description = "Finegrain Object Eraser (Gradio)"
authors = [
{ name = "Pierre Chapuis", email = "[email protected]" }
]
dependencies = [
"gradio>=4.41.0,<5", # gradio-imageslider requires <5
"environs>=11.0.0",
"gradio-image-annotation>=0.2.5",
"pillow>=10.4.0",
"gradio-imageslider>=0.0.20",
"pillow-heif>=0.18.0",
"finegrain @ git+ssh://[email protected]/finegrain-ai/finegrain-python@2a832d4a442ac15476ae6a146f204fb9a399fd3f#subdirectory=finegrain",
]
readme = "README.md"
requires-python = ">= 3.12, <3.13"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = []
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/eraser"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"UP", # pyupgrade
"A", # flake8-builtins
"B", # flake8-bugbear
"Q", # flake8-quotes
"I", # isort
]
[tool.pyright]
include = ["src"]
exclude = ["**/__pycache__"]
|