fix(template): address temp todo review (copier, tooling, sync parity)#45
Merged
buddingengineers12345 merged 2 commits intomainfrom Apr 17, 2026
Merged
Conversation
…tfile Made-with: Cursor
Align post-gen uv sync with fresh lockfile, tighten package_name validation, explicit coverage targets, uv-aware install and pre-commit hooks, gitignore and ruff docs; keep root/template pairs in sync and update CI alignment tests. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR applies the remaining actionable items from the internal
temp_todo.mdreview (delta vs the current tree): Copier post-generation behavior, stricterpackage_namevalidation, explicit coverage targets, saferinstalland pre-commit hook invocations, gitignore and Ruff documentation cleanup, and root/template parity.Changes introduced
uv sync(without--frozen) immediately afteruv lockin_tasks; tightenpackage_namewithisidentifier(); documentgithub_actions_python_versionsJSON string forfromJson()in workflows.--cov=scripts/--cov={{ package_name }}for coverage and CI test recipes; replaceinstallwith Astral bootstrap whenuvis missing.uv run --activefor local Ruff and BasedPyright hooks; mirror totemplate/.pre-commit-config.yaml.tests.ymland generatedci.yml.jinjause explicit--cov=targets aligned with justfiles.TESTING_STREAMLIT.mdexception and stray/1.E501is ignored under Ruff lint.package_name; updatetest_ci_workflow_aligns_with_just_cifor explicit coverage flags.Testing
just sync-checkjust ci(full pipeline)test_ci_workflow_aligns_with_just_ci,test_package_name_validator_rejects_non_identifierDocumentation
Related issues
Contributor checklist
Please confirm the following before submitting:
Release notes
If this change affects users, please indicate whether a release note is required:
Additional notes
Generated projects: post-gen
uv syncno longer uses--frozenimmediately afteruv lock, matching the lockfile produced in the same task run.Thank you for your contribution.