Searched refs:tool_path (Results 1 – 2 of 2) sorted by relevance
181 def tool_path(self, tool_name): member in HookOptions198 tool_path = os.path.normpath(self._tool_paths[tool_name])199 return self.expand_vars([tool_path])[0]311 bpfmt = options.tool_path('bpfmt')336 clang_format = options.tool_path('clang-format')337 git_clang_format = options.tool_path('git-clang-format')351 google_java_format = options.tool_path('google-java-format')352 google_java_format_diff = options.tool_path('google-java-format-diff')714 cpplint = options.tool_path('cpplint')725 gofmt = options.tool_path('gofmt')[all …]
220 self.assertEqual(options.tool_path('pylint'), 'pylint')222 self.assertEqual(options.tool_path('cpplint'), 'my cpplint')224 self.assertRaises(AssertionError, options.tool_path, 'extra_tool')