[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "video-processor" version = "0.1.0" description = "Standalone video processing pipeline with multiple format encoding" authors = [{name = "Video Processor", email = "dev@example.com"}] readme = "README.md" requires-python = ">=3.11" dependencies = [ "ffmpeg-python>=0.2.0", "pillow>=11.2.1", "msprites2 @ git+https://github.com/rsp2k/msprites2.git", "procrastinate>=2.15.1", "psycopg[pool]>=3.2.9", "python-dateutil>=2.9.0", "pydantic>=2.0.0", "pydantic-settings>=2.0.0", ] [project.optional-dependencies] dev = [ "ruff>=0.1.0", "mypy>=1.7.0", "pytest>=7.0.0", "pytest-cov>=4.0.0", ] [tool.hatch.build.targets.wheel] packages = ["src/video_processor"] [tool.hatch.build.targets.sdist] include = [ "/src", "/tests", "/README.md", "/pyproject.toml", ] [tool.hatch.metadata] allow-direct-references = true [tool.ruff] target-version = "py311" line-length = 88 [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade ] ignore = [ "E501", # line too long (handled by formatter) ] [tool.ruff.lint.per-file-ignores] "tests/*" = ["S101"] # Allow assert in tests [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.mypy] python_version = "3.11" strict = true warn_return_any = true warn_unused_configs = true [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] [dependency-groups] dev = [ "mypy>=1.17.1", "pytest>=8.4.2", "pytest-cov>=6.2.1", "ruff>=0.12.12", ]