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 867d8d0 commit d6d2321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toolium/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def replace_param(param, language='es', infer_param_type=True):
[STR:xxxx] Cast xxxx to a string
[INT:xxxx] Cast xxxx to an int
[FLOAT:xxxx] Cast xxxx to a float
[ROUND:xxxx::d] String float with the expected decimals
[ROUND:xxxx::y] Generates a string from a float number (xxxx) with the indicated number of decimals (y)
[LIST:xxxx] Cast xxxx to a list
[DICT:xxxx] Cast xxxx to a dict
[UPPER:xxxx] Converts xxxx to upper case
Expand Down Expand Up @@ -222,6 +222,7 @@ def _replace_param_replacement(param, language):
param_replaced = True
return new_param, param_replaced


def _get_rounded_float_number(param):
"""
Round float number with the expected decimals
Expand Down

0 comments on commit d6d2321

Please sign in to comment.