Polish post-#306: rename Python tasks aggregator, assert #306 additions in spec - #309
Merged
Conversation
…ns in spec - vscode-tasks-python.json: rename the "Python Verify" aggregator to "Python Format" - it runs ruff format (mutating in place), so "Verify" mislabels it; mirrors the sibling ".NET Format" task (Copilot #308). - spec/files.json: point the Python .vscode/tasks.json reference at vscode-tasks-python.json (was the .NET snippet for both languages). - spec/project-types.json: add python.uvlock.pinned - the audit now asserts the uv.lock LF pin (.editorconfig + .gitattributes) that #306 added; N/A for a non-uv Python repo. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Tightens up the Python VS Code tasks and the spec so the audit/standardization rules correctly reflect the post-#306 Python additions, ahead of the #308 promotion.
Changes:
- Renames the Python clean-compile aggregator task from
Python VerifytoPython Formatin the Python VS Code tasks snippet. - Updates
spec/files.jsonso Python.vscode/tasks.jsonreferences the Python tasks snippet (instead of the .NET one). - Extends
spec/project-types.jsonwith a Python check assertinguv.lockis pinned to LF when present.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
spec/project-types.json |
Adds python.uvlock.pinned so audits assert LF pinning for uv.lock in uv-managed Python repos. |
spec/files.json |
Splits .vscode/tasks.json reference per language so Python points at vscode-tasks-python.json. |
catalog/snippets/configs/vscode-tasks-python.json |
Renames the aggregator label to Python Format to reflect that it runs ruff format (mutating). |
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.
Small forward polish tying off #306 / #307 review feedback, ahead of the #308 promotion.
vscode-tasks-python.json— rename thePython Verifyaggregator toPython Format. It runsruff format(mutates in place), soVerifymislabels it; this mirrors the sibling.NET Formattask naming (Copilot flagged it on Promote develop to main: source-only Python template adaptation (#306) #308).spec/files.json— the Python.vscode/tasks.jsonreference now points atvscode-tasks-python.json(it referenced the .NETvscode-tasks.jsonfor both languages).spec/project-types.json— addpython.uvlock.pinned, so the audit now asserts theuv.lockLF pin (.editorconfig+.gitattributes) that Template gaps found adapting to a source-only Python repo (Financial-Modeling) #306 introduced. N/A for a non-uv Python repo (e.g. a Home Assistant integration on pip).Validation
spec/validate.py— OK (21 cataloged, 0 backlog classify cleanly).editorconfig-checker— clean.spec/files.json,spec/project-types.json— parse.🤖 Generated with Claude Code