[project]
name = "fabledcurator"
version = "0.1.0"
description = "FabledSword family — self-hosted media curation, gallery, ML tagging, and subscription-driven downloads."
requires-python = ">=3.14"

[tool.setuptools.packages.find]
where = ["."]
include = ["backend*"]

[tool.pytest.ini_options]
# auto mode: async test fns and async fixtures don't need explicit
# @pytest.mark.asyncio / @pytest_asyncio.fixture decoration. Required
# because the test_api_* fixtures use plain @pytest.fixture on async
# app/client; strict mode errors on those under pytest-asyncio 1.x.
asyncio_mode = "auto"
# The fast backend job runs `-m "not integration"`; the dedicated CI
# `integration` job (pgvector Postgres + Redis service containers) runs
# `-m integration`. Both also runnable locally via docker-compose.
markers = [
    "integration: tests that require a real Postgres/Redis. Run by the CI integration job and locally via docker-compose.",
]
