Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
The summary returned is no longer JSON.

Co-authored-by: Jeppe Fihl-Pearson <[email protected]>
  • Loading branch information
meshy and Tenzer committed Jan 31, 2023
1 parent 88e3d91 commit ea09fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy_json_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MypyError:


def parse_errors_report(input_lines: Iterator[str]) -> Dict[str, Dict[str, int]]:
"""Given lines from mypy's output, return a JSON summary of error frequencies by file."""
"""Given lines from mypy's output, return a summary of error frequencies by file."""
errors = _extract_errors(input_lines)
error_frequencies = _count_errors(errors)
structured_errors = _structure_errors(error_frequencies)
Expand Down

0 comments on commit ea09fac

Please sign in to comment.