-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add error for when file output by CorrelationWriter already exists #106
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
WalkthroughA new, more specific exception class Changes
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🔇 Additional comments (2)src/readii/io/writers/correlation_writer.py (2)
The new
The change to raise Let's verify the error message format consistency across the codebase: ✅ Verification successfulError message format is consistent across writer classes The verification shows that the error message format is perfectly consistent across all writer classes (
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check error message formatting consistency across the codebase
# Look for similar error messages in other writer classes for consistency
# Search for error messages with similar structure
rg "File .* already exists" --type py
# Search for other uses of the overwrite flag in error messages
rg "Set .*.overwrite to True" --type py
Length of output: 1368 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 (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #106 +/- ##
==========================================
+ Coverage 47.66% 47.73% +0.06%
==========================================
Files 33 33
Lines 1502 1504 +2
==========================================
+ Hits 716 718 +2
Misses 786 786 ☔ View full report in Codecov by Sentry. |
Makes it easier to catch times when file exists without resolving the path twice
Summary by CodeRabbit
New Features
Documentation