import yaml


def get_settings(settings_file):
    """
    Gets the settings from the settings file.

    Args:
        settings_file (str):
            Path to the settings file.

    Returns:
        dict:
            Dictionary of the settings.
    """

    return yaml.load(open(settings_file, "r"), Loader=yaml.Loader)