Searched refs:tool_path (Results 1 – 2 of 2) sorted by relevance
168 def tool_path(self, tool_name): member in HookOptions185 tool_path = os.path.normpath(self._tool_paths[tool_name])186 return self.expand_vars([tool_path])[0]302 clang_format = options.tool_path('clang-format')303 git_clang_format = options.tool_path('git-clang-format')317 google_java_format = options.tool_path('google-java-format')318 google_java_format_diff = options.tool_path('google-java-format-diff')496 cpplint = options.tool_path('cpplint')507 gofmt = options.tool_path('gofmt')547 pylint = options.tool_path('pylint')[all …]
203 self.assertEqual(options.tool_path('pylint'), 'pylint')205 self.assertEqual(options.tool_path('cpplint'), 'my cpplint')207 self.assertRaises(AssertionError, options.tool_path, 'extra_tool')