[project] name = "eraser" version = "0.1.0" description = "Finegrain Object Eraser (Gradio)" authors = [ { name = "Pierre Chapuis", email = "pierre@lagon.tech" } ] dependencies = [ "gradio>=4.41.0", "environs>=11.0.0", "gradio-image-annotation>=0.2.3", "httpx>=0.27.0", "pillow>=10.4.0", "gradio-imageslider>=0.0.20", "pillow-heif>=0.18.0", ] 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__"]