-
Notifications
You must be signed in to change notification settings - Fork 9
chore: update to stable snakemake #5
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
WalkthroughThe changes involve a modification in the return type of the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
pyproject.tomlis excluded by!pyproject.toml
Files selected for processing (1)
- tests/init.py (1 hunks)
Additional context used
Path-based instructions (1)
tests/__init__.py (1)
Pattern
**/*.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.
Additional comments not posted (1)
tests/__init__.py (1)
29-30: Updated return type forget_remote_execution_settings.The return type of the method has been updated to reflect the new structure within the
snakemakemodule. This change is consistent with the PR objectives and the reorganization of thesnakemakelibrary.Run the following script to verify the new structure:
Verification successful
Verified: Updated return type for
get_remote_execution_settings.The change to use
snakemake.settings.types.RemoteExecutionSettingsis consistent with the new structure of thesnakemakelibrary and has been correctly implemented in the codebase.
- Verified usage in
tests/__init__.py.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the new structure of the `snakemake` library. # Test: Search for the new namespace usage. Expect: Only occurrences of the new namespace. rg --type python -A 5 $'snakemake.settings.types.RemoteExecutionSettings'Length of output: 103
Script:
#!/bin/bash # Description: Verify the new structure of the `snakemake` library. # Test: Search for the new namespace usage. Expect: Only occurrences of the new namespace. rg --type py -A 5 $'snakemake.settings.types.RemoteExecutionSettings'Length of output: 377
|
@jakevc can you help me with the missing arguments? |
|
will get back into this soon |
Summary by CodeRabbit
Bug Fixes
get_remote_execution_settingsmethod for improved accuracy in type referencing.Chores
container_imageparameter for clarity and to streamline configuration.