'finalize_options'

def finalize_options(self):

    if isinstance(self.excludes, string_types):
        self.excludes = self.excludes.split(',')
    if (self.format is None):
        self.format = 'standard'
    assert (self.format in ['standard', 'parsable']), 'unknown    format    {0}.'.format(self.format)
    if (self.config_file is None):
        self.config_file = '.yamllint'
    assert os.path.isfile(self.config_file), 'yamllint    config    file    {0}    does    not    exist.'.format(self.config_file)
