diff options
Diffstat (limited to 'coverage/jsonreport.py')
-rw-r--r-- | coverage/jsonreport.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/jsonreport.py b/coverage/jsonreport.py index b22ab10b..daebca11 100644 --- a/coverage/jsonreport.py +++ b/coverage/jsonreport.py @@ -88,12 +88,10 @@ class JsonReporter: 'executed_lines': sorted(analysis.executed), 'summary': summary, 'missing_lines': sorted(analysis.missing), - 'excluded_lines': sorted(analysis.excluded) + 'excluded_lines': sorted(analysis.excluded), } if self.config.json_show_contexts: - reported_file['contexts'] = analysis.data.contexts_by_lineno( - analysis.filename, - ) + reported_file['contexts'] = analysis.data.contexts_by_lineno(analysis.filename) if coverage_data.has_arcs(): reported_file['summary'].update({ 'num_branches': nums.n_branches, |