From 420c01394a31415d7a7cbb80be196bcfca48482c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 1 May 2022 08:16:06 -0400 Subject: style: parens should indent the same as their opening line --- coverage/xmlreport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/xmlreport.py') diff --git a/coverage/xmlreport.py b/coverage/xmlreport.py index ebc85de4..2c34cb54 100644 --- a/coverage/xmlreport.py +++ b/coverage/xmlreport.py @@ -68,7 +68,7 @@ class XmlReporter: xcoverage.setAttribute("timestamp", str(int(time.time()*1000))) xcoverage.appendChild(self.xml_out.createComment( f" Generated by coverage.py: {__url__} " - )) + )) xcoverage.appendChild(self.xml_out.createComment(f" Based on {DTD_URL} ")) # Call xml_file for each file in the data. @@ -193,7 +193,7 @@ class XmlReporter: xline.setAttribute( "condition-coverage", "%d%% (%d/%d)" % (100*taken//total, taken, total) - ) + ) if line in missing_branch_arcs: annlines = ["exit" if b < 0 else str(b) for b in missing_branch_arcs[line]] xline.setAttribute("missing-branches", ",".join(annlines)) -- cgit v1.2.1