def make_msg(err_or_warn: str, file: str, line: int, msg: str):
    """
    Formats the error message with a file and line number that can be used by
    IDEs to quickly go to the exact line
    """
    return "{}: {}:{}, {}".format(err_or_warn, file, line, msg)