eric7/DebugClients/Python/coverage/jsonreport.py

branch
eric7-maintenance
changeset 9111
4ac66b6c33a4
parent 8991
2fc945191992
equal deleted inserted replaced
9049:2b9bd8f97576 9111:4ac66b6c33a4
68 }) 68 })
69 69
70 json.dump( 70 json.dump(
71 self.report_data, 71 self.report_data,
72 outfile, 72 outfile,
73 indent=4 if self.config.json_pretty_print else None 73 indent=(4 if self.config.json_pretty_print else None),
74 ) 74 )
75 75
76 return self.total.n_statements and self.total.pc_covered 76 return self.total.n_statements and self.total.pc_covered
77 77
78 def report_one_file(self, coverage_data, analysis): 78 def report_one_file(self, coverage_data, analysis):

eric ide

mercurial