-
-
Notifications
You must be signed in to change notification settings - Fork 27
London | 25-SDC-July | Franklin Kamela | Sprint 4 | Feature/shell-tools-python #158
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
base: main
Are you sure you want to change the base?
Conversation
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Wrong number of parts separated by |s |
1 similar comment
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Wrong number of parts separated by |s |
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.
Remember to update the default PR text when submitting on github.
Good start on this sprint's tasks, I have spotted a few areas where you could improve code further
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.
Have you tested that the numbering is working correctly when multiple files are passed in?
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.
Have you tested to make sure your -1 argument is working correctly?
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.
There is some duplication in this code, can you have a look at reducing it?
Also, when you are outputting, make sure that the indentation is working right.
Your PR description contained template fields which weren't filled in. Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed. |
Hi @LonMcGregor, i have now addressed the reviews. |
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 work reducing the duplication in wc, and while the column-printing solution in ls might be a bit more complicated than is necessary for this task, that's good practice, well done.
In cat I have the same comment as I made in your js implementation - is it necessary to count line numbers and non blank line numbers separately?
hi @LonMcGregor, i dont actually have to use 2 separate counters. i have now amended the code code to let |
Great work |
Learners, PR Template
Self checklist
Changelist
Questions