Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit c84be7a

Browse files
committed
Returning computed value from percent
1 parent e0d7094 commit c84be7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codacy/reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def parse_report_file(report_file):
2828

2929
# Convert decimal string to floored int percent value
3030
def percent(s):
31-
float(s) * 100
31+
return float(s) * 100
3232

3333
# Parse the XML into the format expected by the API
3434
report_xml = minidom.parse(report_file)

0 commit comments

Comments
 (0)