(check_name)
return sorted(files)
TODO: Remove this function when all specs are finished
TODO: Remove this function when all specs are finished
TODO : Remove this function when all specs are finished
def get_config_files(check_name):
    """TODO: Remove this function when all specs are finished"""
    if check_name == 'agent':
        return [os.path.join(get_root(), 'pkg', 'config', 'config_template.yaml')]

    files = []

    if check_name in NOT_CHECKS:
        return files

    root = get_root()

    auto_conf = os.path.join(root, check_name, 'datadog_checks', check_name, 'data', 'auto_conf.yaml')
    if file_exists(auto_conf):
        files.append(auto_conf)

    default_yaml = os.path.join(root, check_name, 'datadog_checks', check_name, 'data', 'conf.yaml.default')
    if file_exists(default_yaml):
        files.append(default_yaml)

    example_yaml = os.path.join(root, check_name, 'datadog_checks', check_name, 'data', 'conf.yaml.example')
    if file_exists(example_yaml):
        files.append(example_yaml)

    return sorted(files)
def get_config_files ( check_name ) : if check_name == 'agent' : return [ os . path . join ( get_root ( ) , 'pkg' , 'config' , 'config_template.yaml' ) ] files = [ ] if check_name in NOT_CHECKS : return files root = get_root ( ) auto_conf = os . path . join ( root , check_name , 'datadog_checks' , check_name , 'data' , 'auto_conf.yaml' ) if file_exists ( auto_conf ) : files . append ( auto_conf ) default_yaml = os . path . join ( root , check_name , 'datadog_checks' , check_name , 'data' , 'conf.yaml.default' ) if file_exists ( default_yaml ) : files . append ( default_yaml ) example_yaml = os . path . join ( root , check_name , 'datadog_checks' , check_name , 'data' , 'conf.yaml.example' ) if file_exists ( example_yaml ) : files . append ( example_yaml ) return sorted ( files )