Recast Two Agent-Authored Prose Semicolons as Two Sentences - #922
Conversation
qodo-code-review on PR #921 (the develop-to-main promotion of #920): the no-semicolon-in-agent-authored-prose rule applies to shell comments and JSON 'why' strings too, not just Markdown, and PR #920 left two semicolons behind that prose_lint.py's semicolon check does not scan for (it is Markdown-only, same known gap as its dash/comment-wrap checks). Recast as two sentences in repo-config/configure.sh's comment and error message, and in spec/host-tools.json's python3 why. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 10 minutes Limit details: You’ve used all 10 included reviews currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
PR Summary by QodoRemove remaining semicolons from shell/JSON prose by splitting into sentences
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to prose-only punctuation adjustments in comments/strings and preserve the existing behavior and meaning.
Pull request overview
This PR follows up on earlier prose-lint gaps by removing remaining semicolons from agent-authored prose in a shell comment / error message and in a JSON why string, recasting each into two sentences to comply with the no-semicolon rule across non-Markdown surfaces.
Changes:
- Updates the
python3tool’swhytext inspec/host-tools.jsonto split the last semicolon into a new sentence. - Updates
repo-config/configure.shto split a long explanatory comment into two sentences and adjust the “no suitable Python” failure message to avoid a semicolon while keeping the same meaning.
File summaries
| File | Description |
|---|---|
| spec/host-tools.json | Recasts the python3 “why” prose to remove a semicolon by splitting into two sentences. |
| repo-config/configure.sh | Recasts a Python-floor comment and an error message to avoid semicolons while preserving intent. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab) |
Follow-up to #920: qodo-code-review caught, on the develop-to-main promotion PR (#921), that the
no-semicolon-in-agent-authored-prose rule applies to shell comments and JSON
whystrings too,not just Markdown, and #920 left two semicolons behind that
scripts/prose_lint.py's semicoloncheck doesn't scan for (Markdown-only, the same known gap as its dash/comment-wrap checks).
repo-config/configure.sh: recast the comment and the failure message as two sentences each.spec/host-tools.json: recast thepython3tool'swhythe same way.Verified locally:
scripts/prose_lint.pyclean,bash -nclean, JSON valid,pytest scripts/tests/test_host_gate.py scripts/tests/test_prose_lint.py scripts/tests/test_repo_gate.pyall pass (392 passed).
🤖 Generated with Claude Code