-
Notifications
You must be signed in to change notification settings - Fork 13
docs: improved help and docs #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe changes update the release workflow by splitting it into two jobs with improved conditional logic, updated actions, and environment setup. Documentation for scaffolding Snakemake plugins now includes pixi installation and detailed stepwise instructions. The Snakedeploy CLI parser was enhanced with explicit help messages for subcommands, improving usability without changing logic or API signatures. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
snakedeploy/client.py (1)
1-327: CI is red – runruff format.The pipeline fails with a Ruff formatting error.
Runruff format --write(or the project’s formatter target) before merging.
🧹 Nitpick comments (4)
snakedeploy/client.py (3)
64-66: Redundant description & help strings – keep one.
argparsealready shows the command description as part of--help; specifying the identical text again viahelp=duplicates output.
Prefer to leavedescription=only (or shorten one of them) to avoid verbose, repetitive help screens.-deploy_workflow_parser = subparsers.add_parser( - "deploy-workflow", description="Deploy a workflow from a git repository.", help="Deploy a workflow from a git repository." +deploy_workflow_parser = subparsers.add_parser( + "deploy-workflow", + description="Deploy a workflow from a git repository.", )
122-124: Spelling: “envrionments” → “environments”.Minor typo in the help text.
- help="Pin/lock given conda envrionments to compatible package URLs at the time of invocation.", + help="Pin/lock given conda environments to compatible package URLs at the time of invocation.",
218-220: Duplicated wording inhelp/description.Same issue as above – remove the duplicate to keep help concise.
-update_snakemake_wrappers = subparsers.add_parser( - "update-snakemake-wrappers", - help="Update all snakemake wrappers in given Snakefiles.", - description="Update all snakemake wrappers in given Snakefiles.", +update_snakemake_wrappers = subparsers.add_parser( + "update-snakemake-wrappers", + description="Update all snakemake wrappers in given Snakefiles.", ).github/workflows/release-please.yml (1)
38-38: Add trailing newline to satisfy YAML-lint.Static analysis flags the missing newline at EOF.
- password: ${{ secrets.PYPI_TOKEN }} + password: ${{ secrets.PYPI_TOKEN }} +
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pyproject.tomlis excluded by!pyproject.toml
📒 Files selected for processing (3)
.github/workflows/release-please.yml(1 hunks)docs/snakemake_developers/scaffold_snakemake_plugins.rst(1 hunks)snakedeploy/client.py(6 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.py
⚙️ CodeRabbit Configuration File
**/*.py: Do not try to improve formatting.
Do not suggest type annotations for functions that are defined inside of functions or methods.
Do not suggest type annotation of theselfargument of methods.
Do not suggest type annotation of theclsargument of classmethods.
Do not suggest return type annotation if a function or method does not contain areturnstatement.
Files:
snakedeploy/client.py
🪛 YAMLlint (1.37.1)
.github/workflows/release-please.yml
[error] 38-38: no new line character at the end of file
(new-line-at-end-of-file)
🪛 GitHub Actions: CI
snakedeploy/client.py
[error] 1-1: Ruff formatting check failed. File would be reformatted. Run 'ruff format --write' to fix code style issues.
🔇 Additional comments (1)
docs/snakemake_developers/scaffold_snakemake_plugins.rst (1)
8-18: Great clarification of pixi prerequisite.The extra context on
pixisetup will prevent user confusion. Nice!
🤖 I have created a release *beep* *boop* --- ## [0.12.1](v0.12.0...v0.12.1) (2025-07-25) ### Documentation * improved help and docs ([#91](#91)) ([80f9837](80f9837)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit