Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
promans718 committed Oct 8, 2024
1 parent 2eba630 commit a53e5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolium/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _get_rounded_float_number(param):
"""
type_mapping_regex = r'\[(ROUND):([\w\W]*)\]'
type_mapping_match_group = re.match(type_mapping_regex, param)
if type_mapping_match_group and type_mapping_match_group.group(1) == 'ROUND':
if type_mapping_match_group and type_mapping_match_group.group(1) == 'ROUND':
replace_params = type_mapping_match_group.group(2).split('::')
replace_param = f"{round(float(replace_params[0]), int(replace_params[1])):.{int(replace_params[1])}f}"
return replace_param
Expand Down

0 comments on commit a53e5c3

Please sign in to comment.