You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Closes [MPT-17674](https://softwareone.atlassian.net/browse/MPT-17674)
- .editorconfig: enforce tab indentation for Makefile and *.mk files
- .pre-commit-config.yaml: normalize package names to lowercase and
reorder flake8-related entries
- Replace legacy Makefile with a modular Makefile system:
- New top-level Makefile dynamically includes make/*.mk fragments,
auto-generates .PHONY targets, adds a require helper macro, and sets
default goal to help
- Added make/common.mk: Docker Compose-based development workflow and
targets (build, test, check, check-all, format, run, bash, shell) and uv
dependency management (uv-add, uv-add-dev, uv-upgrade)
- Added make/external_tools.mk: review target (CodeRabbit)
- Added make/repo.mk: placeholder for repo-specific targets
- Removed old legacy makefile (full deletion) and migrated functionality
into the new modular layout
- Dockerfile refactor:
- Replace VIRTUAL_ENV usage with UV_PROJECT_ENVIRONMENT and preserve
PATH
- Adjust build stage (COPY . . and uv sync --no-dev), add dev stage (uv
sync --dev), and add prod stage that removes tests, creates appuser,
sets UV_CACHE_DIR and switches to non-root user
- README.md: reorganized into a setup-first guide with explicit Makefile
structure, setup workflow, developer utilities, and configuration
section (env vars)
- docs/PROJECT_DESCRIPTION.md: add pre-commit snippets showing how to
check migrations
- pyproject.toml: minor Ruff config cleanup (remove
docstring-code-format setting)
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
[MPT-17674]:
https://softwareone.atlassian.net/browse/MPT-17674?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
0 commit comments