def lint(self): lint_name = self.config['lint']['name'] if lint_name == 'yamllint': return yamllint.Yamllint(self)
def _instance(_lint_section_data, patched_config_validate, config_instance): return yamllint.Yamllint(config_instance)
def lint(self): lint_name = self.config['lint']['name'] if lint_name == 'yamllint': return yamllint.Yamllint(self) else: util.exit_with_invalid_section('lint', lint_name)
def yamllint_instance(molecule_lint_section_data, config_instance): config_instance.merge_dicts(config_instance.config, molecule_lint_section_data) return yamllint.Yamllint(config_instance)