-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Solution #853
base: master
Are you sure you want to change the base?
Solution #853
Conversation
app/main.py
Outdated
# write your code here | ||
pass | ||
return { | ||
"errors": [ |
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.
use existing format_linter_error function to avoid code duplication
|
||
|
||
def format_linter_report(linter_report: dict) -> list: | ||
# write your code here | ||
pass | ||
return [ |
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.
use existing format_single_linter_file function to avoid code duplication
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.
You did`t fix all problems. Read comments
app/main.py
Outdated
return [format_single_linter_file(file_path, errors) | ||
for file_path, errors in linter_report.items()] |
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.
return [format_single_linter_file(file_path, errors) | |
for file_path, errors in linter_report.items()] | |
return [ | |
format_single_linter_file(file_path, errors | |
for file_path, errors in linter_report.items() | |
] |
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.
LGTM, well done!
No description provided.