50777202e6e30750f8e60a21329ea3223c721038,contrib/python/src/python/pants/contrib/python/checks/tasks2/python_eval.py,PythonEval,execute,#PythonEval#,70

Before Change


                  "specified on the command line.")

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

    targets = self.context.targets() if self.get_options().closure else self.context.target_roots
    with self.invalidated(filter(self._is_evalable, targets),
                          invalidate_dependents=True,
                          topological_order=True) as invalidation_check:

After Change


    else:
      // TODO(benjy): After removing --closure, targets should always be set to this, and the
      // entire other branch of this if statement (and the if statement itself) should be removed.
      targets = self.get_targets(self._is_evalable)
    with self.invalidated(targets,
                          invalidate_dependents=True,
                          topological_order=True) as invalidation_check:
      compiled = self._compile_targets(invalidation_check.invalid_vts)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 50777202e6e30750f8e60a21329ea3223c721038
Time: 2018-01-25
Author: benjyw@gmail.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks2/python_eval.py
Class Name: PythonEval
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 50777202e6e30750f8e60a21329ea3223c721038
Time: 2018-01-25
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/scala_rewrite_base.py
Class Name: ScalaRewriteBase
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 7a1c105fa2d0318c5533d4fac98fb6bed911ef85
Time: 2018-02-01
Author: benjyw@gmail.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py
Class Name: PythonEval
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 50777202e6e30750f8e60a21329ea3223c721038
Time: 2018-01-25
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/scalastyle.py
Class Name: Scalastyle
Method Name: execute