Files
tavolo/server/pyproject.toml
T
woggioni 2b738ea2fe
CI / Build and push docker image (push) Successful in 2m29s
Move tavolo-app under packages/ for a uniform monorepo layout
Relocate the composition root (app, config, static, logging_config,
aerich_config) from server/src/tavolo/ to
packages/tavolo-app/src/tavolo/, with its own pyproject.toml and README
like the sibling distributions. Module paths and the granian entrypoint
are unchanged.

server/pyproject.toml remains as a tooling shim ([tool.aerich] next to
./migrations, [tool.mypy] for runs from server/); the Dockerfile installs
all three distributions from ./packages. Verified: all suites green,
mypy clean per package, aerich resolves the moved config identically,
wheel builds.
2026-09-21 13:04:09 +08:00

17 lines
623 B
TOML

# NOTE: the tavolo-app distribution lives in packages/tavolo-app/ (same
# kaya-style layout as tavolo-platform and tavolo-scopone). This file
# exists only for tooling that reads configuration from the working
# directory:
# - 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.aerich]
tortoise_orm = "tavolo.aerich_config.TORTOISE_ORM"
location = "./migrations"
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
plugins = []