Skip to content

[smpy][scaffold] Generated app Makefile omits test/lint/doctor (and seed) targets the docs reference; migrate uses alembic upgrade head (singular) #201

Description

@antosubash

Summary

A freshly scaffolded app (smpy new) cannot run the project's own quality gates — the generated Makefile has only install/dev/build/migrate/migration/gen-pages/sync-module-deps/kill (+ worker/beat with --with background_tasks). reference/make-commands.md and the framework workflow describe make test / make lint / make doctor, but the scaffold doesn't emit them.

Environment

  • Framework checkout: v0.0.17-5-g2b079c9; smpy / published simple_module_* / @simple-module-py/*: 0.0.17
  • Python 3.12.3, uv 0.11.7, node v24.15.0, Linux (Ubuntu)

Found while building a real consumer app (Invoice Manager) on the framework.

Repro

smpy new demo --preset standard --yes && cd demo && make test → "No rule to make target 'test'". Same for lint, doctor.

Also

The scaffold Makefile's migrate target uses alembic upgrade head (singular) while the framework Makefile uses upgrade heads (plural). With per-module migration branch labels, the singular form can leave branch heads unapplied.

Impact / workaround

A real consumer must hand-build the CI surface before writing feature code: a root dev dependency group (pytest/ruff/ty/playwright), ruff+ty+pytest config, scripts/check_file_size.py, and test/test-py/lint/doctor/test-e2e targets. Suggest the scaffold generate these (and upgrade heads).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions