Repository navigation
Correct the Task Names and Pointers in the Python Tasks Snippet Header - #2232
Conversation
The lint-only Scripts-profile line named a coverage task the snippet does not define. It now names the "Python Test", "uv Sync", and "uv Upgrade" tasks it omits. The two CODESTYLE.md pointers now name the python-codestyle Skill sections that hold that text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The lint-only line now says "Python Test" runs the repository's unittest command rather than being dropped, per the python-codestyle Skill "Two profiles". Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2232 +/- ##
==========================================
Coverage ? 56.61%
==========================================
Files ? 16
Lines ? 7482
Branches ? 0
==========================================
Hits ? 4236
Misses ? 3246
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The comment-only change is fully verified: the new Skill section pointers resolve, the task labels match, and the unittest/OPERATIONS.md description is consistent with the python-codestyle "Two profiles" contract.
Review effort: Balanced
Findings: None
What changed in this PR
This PR corrects two factual errors in the header comment block of catalog/snippets/configs/vscode-tasks-python.json, the fleet's VS Code tasks snippet for Python. The header described the snippet's lint-only Scripts-profile adaptation inaccurately and pointed at CODESTYLE.md section headings whose text is now surfaced through the python-codestyle Skill. The change is comment-only and does not alter any task definition.
I verified each claim against the head tree:
- The
python-codestyleSkill does carry the referenced sections (## Local development loopand## Two profiles), so both new pointers resolve. - The snippet's Python task labels (
uv Sync,uv Upgrade,Python Test) match the new wording, and the snippet defines no coverage task, so dropping that reference is correct. - The
Two profilessection andOPERATIONS.mdconfirm the lint-only profile runsunittest/coveragerather thanpytest, matching the new description. - The new
the python-codestyle Skill "..."pointer form is consistent with the already-present unchanged context on line 20.
Changes:
- Repoint the "clean-compile set" header line from
CODESTYLE.md "Local Development Loop"to thepython-codestyleSkill "Local development loop". - Rewrite the lint-only Scripts-profile line to name only tasks the snippet defines (omit
uv Sync/uv Upgrade) and state thatPython Testruns theOPERATIONS.mdunittest command rather than pytest, repointed to the Skill "Two profiles".
| File | Description |
|---|---|
| catalog/snippets/configs/vscode-tasks-python.json | Corrects two header comment lines so the task-name description and section pointers match the snippet's actual tasks and the current location of the referenced guidance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
## Summary Promotes develop to main, carrying the pull requests below, each already reviewed and merged into develop. - [#2203](#2203): Strip every heredoc body a line opens in the wait-loop rule. - [#2216](#2216): Point the charset-unknown message at where a tier is classified. - [#2218](#2218): Name the leftover old tree when the Bash loader cannot remove it. - [#2227](#2227): End the guard's stdin redirect scan at a trailing comment. - [#2230](#2230): Tell apart the causes a labels payload is refused for. - [#2232](#2232): Correct the task names and pointers in the Python tasks snippet header. - [#2234](#2234): Drop the stale private-repository note from PhotoCleaner's registry entry. - [#2237](#2237): State the bootstrap's archive live channel in two skills. - [#2239](#2239): Stop the promotion count on a failed fetch in backlog-burndown. - [#2241](#2241): Render the include walk once per `build_dist.py --check` run. - [#2243](#2243): Have the tree check call `escapes_repo_root` and refuse a symlinked component. - [#2247](#2247): Refuse a Windows drive component anywhere in a tree path. - [#2222](#2222): Tick the adopted repos in the merge-bot and gate rollout stages. - [#2121](#2121): Refuse a dangling remote-tracking target in `local_review`. - [#2249](#2249): Ignore a quoted separator when the guard finds a loop's `done`. Closes #2112 Closes #2171 Closes #1790 Closes #2152 Closes #1372 Closes #2149 Closes #1082 Closes #1772 Closes #1310 Closes #1379 Closes #1452 Closes #2244 Closes #2168 Closes #2106 Closes #2207 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Closes on promotion: #2149
Summary
The header of
catalog/snippets/configs/vscode-tasks-python.jsonnamed a coverage task the snippet does not define, and pointed at two CODESTYLE.md sections whose text now lives in thepython-codestyleSkill.python-codestyleSkill sections, in the same form as the header's existing Skill pointer.The mypy swap lines and the "Adapt the target paths" line are left as they were, since the parked
auto-2157lane edits them.This changes comment lines only, so it needs the
commentslabel.🤖 Generated with Claude Code