Searched refs:tool_path (Results 1 – 2 of 2) sorted by relevance
215 def tool_path(self, tool_name): member in HookOptions232 tool_path = os.path.normpath(self._tool_paths[tool_name])233 return self.expand_vars([tool_path])[0]349 bpfmt = options.tool_path('bpfmt')374 clang_format = options.tool_path('clang-format')375 git_clang_format = options.tool_path('git-clang-format')389 google_java_format = options.tool_path('google-java-format')390 google_java_format_diff = options.tool_path('google-java-format-diff')813 cpplint = options.tool_path('cpplint')824 gofmt = options.tool_path('gofmt')[all …]
238 self.assertEqual(options.tool_path('pylint'), 'pylint')240 self.assertEqual(options.tool_path('cpplint'), 'my cpplint')242 self.assertRaises(AssertionError, options.tool_path, 'extra_tool')