Skip to content

Correct the Task Names and Pointers in the Python Tasks Snippet Header - #2232

Merged
ptr727 merged 2 commits into
developfrom
feature/auto-2149
Oct 1, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/auto-2149

Conversation

@ptr727

@ptr727 ptr727 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Closes on promotion: #2149

Summary

The header of catalog/snippets/configs/vscode-tasks-python.json named a coverage task the snippet does not define, and pointed at two CODESTYLE.md sections whose text now lives in the python-codestyle Skill.

  • The lint-only Scripts-profile line now names only tasks the snippet defines: it omits "uv Sync" and "uv Upgrade", and "Python Test" runs the unittest command the repository's OPERATIONS.md gives rather than pytest. The local strict review found that the earlier wording dropped the test task outright, although "Two profiles" says the lint-only profile still uses unittest for tests and runs the coverage command from OPERATIONS.md.
  • The "Local Development Loop" and "Two profiles" pointers now name the python-codestyle Skill 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-2157 lane edits them.

This changes comment lines only, so it needs the comments label.

🤖 Generated with Claude Code

ptr727 and others added 2 commits October 1, 2026 01:50
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]>
Copilot AI balanced review requested due to automatic review settings October 1, 2026 08:53
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 1, 2026
@coderabbitai

coderabbitai Bot commented Oct 1, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 219e628b-4fc7-477a-9fce-9250417c792b

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@0b89558). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2232   +/-   ##
==========================================
  Coverage           ?   56.61%           
==========================================
  Files              ?       16           
  Lines              ?     7482           
  Branches           ?        0           
==========================================
  Hits               ?     4236           
  Misses             ?     3246           
  Partials           ?        0           
Flag Coverage Δ
python-3.13 56.61% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-codestyle Skill does carry the referenced sections (## Local development loop and ## 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 profiles section and OPERATIONS.md confirm the lint-only profile runs unittest/coverage rather than pytest, 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 the python-codestyle Skill "Local development loop".
  • Rewrite the lint-only Scripts-profile line to name only tasks the snippet defines (omit uv Sync/uv Upgrade) and state that Python Test runs the OPERATIONS.md unittest 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.

@ptr727
ptr727 merged commit 91c5a3b into develop Oct 1, 2026
11 checks passed
@ptr727
ptr727 deleted the feature/auto-2149 branch October 1, 2026 08:57
ptr727 added a commit that referenced this pull request Oct 1, 2026
## 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants