ed0a8b99a9497a179611e0dd772fde31a3129c93,src/python/pants/backend/codegen/tasks/thrift_linter.py,ThriftLinter,execute,#ThriftLinter#,95

Before Change



  def execute(self):
    thrift_targets = self.context.targets(self._is_thrift)
    for target in thrift_targets:
      for path in target.sources_relative_to_buildroot():
        self.lint(target, path)

After Change


        "Lint errors in target {0} for {1}.".format(target.address.spec, paths))

  def execute(self):
    if self.get_options().skip:
      return

    thrift_targets = self.context.targets(self._is_thrift)
    with self.invalidated(thrift_targets) as invalidation_check:
      errors = []
      for vt in invalidation_check.invalid_vts:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: ed0a8b99a9497a179611e0dd772fde31a3129c93
Time: 2015-02-12
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/codegen/tasks/thrift_linter.py
Class Name: ThriftLinter
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 6229c419d8f1b63cac22f23f24e19ef28d89b0a3
Time: 2018-06-27
Author: dawagner@gmail.com
File Name: src/python/pants/backend/graph_info/tasks/cloc.py
Class Name: CountLinesOfCode
Method Name: console_output


Project Name: pantsbuild/pants
Commit Name: b2202480258b6f2f5f4e020e86cde975088c7792
Time: 2015-07-11
Author: codyhgibb@gmail.com
File Name: contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_compile.py
Class Name: CppCompile
Method Name: execute