(package_name)
return package_name.replace('-', '_')[len(DATADOG_PACKAGE_PREFIX) :]
Given a Python package name for a check, return the corresponding folder
    name in the git repo
Given a Python package name for a check, return the corresponding folder
    name in the git repo
Given a Python package name for a check return the corresponding folder name in the git repo
def get_folder_name(package_name):
    """
    Given a Python package name for a check, return the corresponding folder
    name in the git repo
    """
    if package_name == 'datadog-checks-base':
        return 'datadog_checks_base'
    elif package_name == 'datadog-checks-downloader':
        return 'datadog_checks_downloader'
    elif package_name == 'datadog-checks-dependency-provider':
        return 'datadog_checks_dependency_provider'

    return package_name.replace('-', '_')[len(DATADOG_PACKAGE_PREFIX) :]
def get_folder_name ( package_name ) : if package_name == 'datadog-checks-base' : return 'datadog_checks_base' elif package_name == 'datadog-checks-downloader' : return 'datadog_checks_downloader' elif package_name == 'datadog-checks-dependency-provider' : return 'datadog_checks_dependency_provider' return package_name . replace ( '-' , '_' ) [ len ( DATADOG_PACKAGE_PREFIX ) : ]