fix: add testcase data to package files#3077
Conversation
WalkthroughThe changes involve updates to 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 (
|
|
|
ah, sneaky! |
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- setup.cfg (1 hunks)
- setup.py (1 hunks)
- snakemake/api.py (2 hunks)
Files skipped from review due to trivial changes (1)
- setup.py
Additional context used
Path-based instructions (1)
snakemake/api.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 (2)
setup.cfg (1)
81-81: Approved: Inclusion of.rstfiles in package data.The addition of
.rstfiles to the package data ensures that all relevant documentation is included in the package distribution, aligning with the PR's objectives to enhance the testing framework.snakemake/api.py (1)
412-412: Approved: Addition of_workdir_handlerinstance variable.The introduction of
_workdir_handlerenhances the class's capability to manage its working directory effectively. This change is crucial for the correct execution of workflows and aligns with the PR's objectives.Run the following script to verify the integration of
_workdir_handler:Verification successful
Verified: Integration of
_workdir_handleris correct.The
_workdir_handlerinstance variable is properly initialized and utilized within the codebase to manage the working directory, aligning with the PR's objectives. Its integration enhances the class's capability to handle workflow execution effectively.
_workdir_handleris initialized and used insnakemake/api.pyandsnakemake/workflow.py.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the integration of `_workdir_handler`. # Test: Search for the usage of `_workdir_handler`. Expect: Proper initialization and usage in relevant methods. rg --type python -A 5 $'_workdir_handler'Length of output: 71
Script:
#!/bin/bash # Description: Verify the integration of `_workdir_handler`. # Test: Search for the usage of `_workdir_handler`. Expect: Proper initialization and usage in relevant methods. rg '_workdir_handler' -A 5Length of output: 2318
🤖 I have created a release *beep* *boop* --- ## [8.20.1](v8.20.0...v8.20.1) (2024-09-07) ### Bug Fixes * add testcase data to package files ([#3077](#3077)) ([e90b098](e90b098)) --- 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>



QC
docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).Summary by CodeRabbit
New Features
Bug Fixes
Chores