eric7/DebugClients/Python/coverage/jsonreport.py

branch
eric7
changeset 8991
2fc945191992
parent 8775
0802ae193343
child 9099
0e511e0e94a3
diff -r ca8e477c590c -r 2fc945191992 eric7/DebugClients/Python/coverage/jsonreport.py
--- a/eric7/DebugClients/Python/coverage/jsonreport.py	Sun Mar 20 17:26:35 2022 +0100
+++ b/eric7/DebugClients/Python/coverage/jsonreport.py	Sun Mar 20 17:49:44 2022 +0100
@@ -2,6 +2,7 @@
 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
 
 """Json reporting for coverage.py"""
+
 import datetime
 import json
 import sys
@@ -27,7 +28,7 @@
 
         `morfs` is a list of modules or file names.
 
-        `outfile` is a file object to write the json to
+        `outfile` is a file object to write the json to.
 
         """
         outfile = outfile or sys.stdout
@@ -75,7 +76,7 @@
         return self.total.n_statements and self.total.pc_covered
 
     def report_one_file(self, coverage_data, analysis):
-        """Extract the relevant report data for a single file"""
+        """Extract the relevant report data for a single file."""
         nums = analysis.numbers
         self.total += nums
         summary = {

eric ide

mercurial