| [project] | |
| name = "video-image-enhancer" | |
| version = "0.1.0" | |
| description = "AI-powered image and video upscaling suite using Real-ESRGAN" | |
| dependencies = [ | |
| "gradio>=4.0.0", | |
| "opencv-python-headless", | |
| "Pillow", | |
| "numpy", | |
| "torch", | |
| "torchvision", | |
| "realesrgan", | |
| "basicsr", | |
| ] | |
| requires-python = ">=3.10" | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.ruff] | |
| line-length = 100 | |
| target-version = "py312" | |
| [tool.ruff.lint] | |
| select = [ | |
| "E", # pycodestyle errors | |
| "W", # pycodestyle warnings | |
| "F", # pyflakes | |
| "I", # isort | |
| "C", # flake8-comprehensions | |
| "B", # flake8-bugbear | |
| "UP", # pyupgrade | |
| ] | |
| ignore = [ | |
| "E501", # line too long, handled by ruff format | |
| ] | |