Skip to content

Commit

Permalink
fix solution
Browse files Browse the repository at this point in the history
  • Loading branch information
sashasyrota committed Sep 18, 2024
1 parent dbe33cc commit 9b74135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ def format_single_linter_file(file_path: str, errors: list) -> dict:


def format_linter_report(linter_report: dict) -> list:
return [format_single_linter_file(file_path=key, errors=errors)
for key, errors in linter_report.items()]
return [format_single_linter_file(file_path=report_path, errors=errors)
for report_path, errors in linter_report.items()]

0 comments on commit 9b74135

Please sign in to comment.