-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding solutions #48
Adding solutions #48
Conversation
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.
Amazing, Nelson! You did a very good job. I did look on some checkboxes and noticed that some of them are not satisfied. If you can make some changes, it would be nice.
- You need to have 3 or more doctests in function file
- Make a module dosctring for test and function file (just write a summary docstring in the beggining of your files)
- Add defensive assertions.
- Correct type of annotations in function. For example, in count_vowels you can add def count_vowels(s: str) -> int:
If you need any help - feel free to ask me or Nagham and Salem!
Alright 👌 thank you Matvii. I tried adding the module doctring, but when I do that, I keep having python formatting issues |
adding a module doccstring with some path modifications to avoid formatting issues
added module docstring, and defensive assertions
Added a module docstring and defensive assertions
final touches
final touches
final touches
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.
Good job!
name: solution review
about: A template PR for code review with a checklist
Behavior
Files
/tests/test_file_name.py
Unit Tests
Function Docstring
Raises:
The Function
Strategy
Do's
Don'ts
Implementation
when it's too restricting.
print
statements anywhere