Skip to content

Commit

Permalink
Update main.py final version
Browse files Browse the repository at this point in the history
  • Loading branch information
katryana authored Aug 1, 2023
1 parent c33acda commit c54730c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ def format_linter_error(error: dict) -> dict:

def format_single_linter_file(file_path: str, errors: list) -> dict:
return {
"errors":
[format_linter_error(error) for error in errors],
"errors": [format_linter_error(error) for error in errors],
"path": file_path,
"status": "passed" if errors == [] else "failed"
}
Expand Down

0 comments on commit c54730c

Please sign in to comment.