-
Notifications
You must be signed in to change notification settings - Fork 1
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
Return list[str] when passed multiple values from python #53
Conversation
Reviewer's Guide by SourceryThis pull request modifies the File-Level Changes
Tips
|
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.
Fixes: #51
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.
Hey @MusicalNinjaDad - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 7 issues found
- 🟢 Security: all looks good
- 🟡 Testing: 1 issue found
- 🟢 Complexity: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. 📢 Thoughts on this report? Let us know! |
@sourcery-ai review |
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.
We have skipped reviewing this pull request. It looks like we've already reviewed this pull request.
Summary by Sourcery
This pull request introduces a new return type for the
fizzbuzz
function, allowing it to return either a single string or a list of strings based on the input. The documentation and tests have been updated accordingly to reflect these changes.fizzbuzzo3.fizzbuzz
function to return a list of strings when passed a list or range of numbers, instead of a single concatenated string.fizzbuzz
function, providing clearer examples and explanations.FizzBuzzReturn
to handle different return types for thefizzbuzz
function, allowing it to return either a single string or a list of strings based on the input.FizzBuzzReturn
type indocs/dev-build.md
.python/fizzbuzz/fizzbuzzo3.pyi
to reflect the new return types for thefizzbuzz
function.fizzbuzz
function.fizzbuzz
function returns an empty list for invalid slice ranges.tests/perftest.py
to focus on Rust performance comparisons.