docs(help): shorten the example in the overview - #8
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The version bump and help-output change introduce user-facing documentation/version inconsistencies and the PR description doesn’t account for the release/version change.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR updates Picklock’s user-facing help output by shortening the top-level help example, and also updates the package version used across the CLI.
Changes:
- Removes the final “Next page: …” line from the top-level help overview example output.
- Bumps
picklock.__version__from0.2.2to0.2.3.
File summaries
| File | Description |
|---|---|
| picklock/commands/session_commands.py | Shortens the example block shown in the top-level help overview output. |
| picklock/init.py | Updates the package version constant used by the CLI/help output. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Removing the 'Next page' line took the trailing comma of the example argument with it, leaving the string literal adjacent to 'indent=4' — flake8 stopped at E999 and every job behind lint was skipped. The trailing '\n' goes too: no other example string in the tree ends with one, and _print_example splits on lines anyway. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The version bump is not reflected in the PR description and leaves existing hard-coded 0.2.2 references in docs that can become inconsistent.
Review details
Suppressed comments (2)
picklock/init.py:17
- The PR description only mentions shortening the help example, but this change also bumps the package version; either document the version bump in the PR description/release notes or drop it to keep the change set aligned with the stated scope.
__version__ = "0.2.3"
picklock/init.py:17
- Bumping version to 0.2.3 leaves hard-coded 0.2.2 strings elsewhere (e.g., docs/conf.py fallback release and docs/quickstart.md output snippet), which can make docs/build output inconsistent when the package isn't importable or when readers follow the quickstart.
__version__ = "0.2.3"
- Files reviewed: 2/2 changed files
- Comments generated: 0 new
- Review effort level: Lite
The bump moved __init__ alone. Three other places carry the version literally — the Sphinx fallback, the quickstart's banner sample and the terminal capture — and none of them is checked by CI, so they would have gone stale quietly. The capture is a fresh recording rather than an edit, so the PID, the addresses, the row count and the timings move with it.
Why is this PR necessary, what does it do?
This PR removes the unnecessary last line of the example at the help content.
Checklist (complete all items):
References:
No references to be shared.
Notes:
No notes to be shared.