# NOTE: the five tavolo distributions live in packages/ (same kaya-style # layout as tavolo-platform and tavolo-scopone). This file is the root of # the uv workspace and also holds tooling configuration that is read from # the working directory: # - uv locks and syncs the whole workspace from here; # - aerich reads [tool.aerich] from here (server/ locally, /app in the # db-migrate compose service), next to ./migrations; # - mypy reads [tool.mypy] from here when run from server/. # See the Migrations section in README.md. [tool.uv] # The old pip-compile setup used --index-url for the private Gitea index # plus --extra-index-url for PyPI, so the best version across both indexes # won. Match that behavior with uv. index-strategy = "unsafe-best-match" [[tool.uv.index]] name = "gitea" url = "https://gitea.woggioni.net/api/packages/woggioni/pypi/simple" default = true [[tool.uv.index]] name = "pypi" url = "https://pypi.org/simple" [tool.uv.workspace] members = ["packages/*"] [tool.uv.sources] tavolo-platform = { workspace = true } tavolo-scopone = { workspace = true } tavolo-scopa = { workspace = true } tavolo-briscola = { workspace = true } [tool.aerich] tortoise_orm = "tavolo.aerich_config.TORTOISE_ORM" location = "./migrations" [tool.mypy] python_version = "3.12" ignore_missing_imports = true plugins = []