def rest_get_repo_pr_settings(script, project_key, repo_slug):
    """
    Gets the settings for PRs for the specified repo
    :param script: a TestScript instance
    :type script: TestScript
    :param project_key: The project key
    :type project_key: str
    :param repo_slug: The repo slug
    :type repo_slug: str
    :return: the repo pr settings
    :rtype: dict
    """
    repo_pr_settings_url = "/rest/api/latest/projects/%s/repos/%s/settings/pull-requests" % (project_key, repo_slug)
    return script.rest("GET", repo_pr_settings_url)