Commit 7b3acd22 authored by legoktm's avatar legoktm

Round less

parent 96b6a383
......@@ -42,7 +42,7 @@ def process_file(fname):
]
total = sum(int(metrics.attrib[thing]) for thing in stuff)
div = sum(int(metrics.attrib['covered%s' % thing]) for thing in stuff)
covered = round(div/total*100)
covered = round(div/total*100, 2)
return [date, covered]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment