def get_type(string_: str):
    """
    Find type into which provided string should be casted.

    :param string_: str -- single string to reformat
    :return: float, int, bool or str
    """
    if "." in string_ and string_.replace(".", "").isdigit():
        return float
    elif string_.replace("-", "").isdigit():
        return int
    elif string_ in ("True", "False"):
        return bool
    else:
        return str