Lines Matching refs:config
118 config = RawConfigParser()
126 config.read(path)
134 self.config = config
141 return self.config.options(self.CUSTOM_HOOKS_SECTION, [])
145 return shlex.split(self.config.get(self.CUSTOM_HOOKS_SECTION, hook, ''))
150 return [k for k, v in self.config.items(self.BUILTIN_HOOKS_SECTION, ())
155 return shlex.split(self.config.get(self.BUILTIN_HOOKS_OPTIONS_SECTION,
161 return dict(self.config.items(self.TOOL_PATHS_SECTION, ()))
183 self.config.get(self.OPTIONS_SECTION,
189 config = self.config
199 bad_sections = set(config.sections()) - valid_sections
206 if not config.get(self.CUSTOM_HOOKS_SECTION, hook):
212 if config.has_section(self.BUILTIN_HOOKS_SECTION):
213 hooks = set(config.options(self.BUILTIN_HOOKS_SECTION))
218 elif config.has_section(self.BUILTIN_HOOKS_OPTIONS_SECTION):
222 if config.has_section(self.BUILTIN_HOOKS_OPTIONS_SECTION):
223 hooks = set(config.options(self.BUILTIN_HOOKS_OPTIONS_SECTION))
247 if config.has_section(self.TOOL_PATHS_SECTION):
248 tools = set(config.options(self.TOOL_PATHS_SECTION))
256 if config.has_section(self.OPTIONS_SECTION):
257 options = set(config.options(self.OPTIONS_SECTION))