[project] name = "light-switcher" version = "0.1.0" description = "Finegrain Light Switcher (Gradio)" authors = [ { name = "Pierre Chapuis", email = "pierre@lagon.tech" } ] dependencies = [ "gradio>=5.27.1", "pillow>=11.3.0", "spaces>=0.29.3", "numpy<2.0.0", "pi-heif>=1.1.0", "diffusers>=0.35.1", "accelerate>=1.10.1", "finegrain_toolbox @ git+https://github.com/finegrain-ai/finegrain-toolbox", ] # ZeroGPU is stuck with 3.10 requires-python = ">= 3.10" [tool.ruff] line-length = 120 target-version = "py310" [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 = ["app.py"] exclude = ["**/__pycache__"] [dependency-groups] dev = [ "pyright>=1.1.404", "ruff>=0.12.10", ]