528f3a015bb88a4227f7534c5a5373d16ddd9e05,contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py,FindBugs,_is_findbugs_target,#FindBugs#Any#,88
Before Change
if target.is_synthetic:
self.context.log.debug("Skipping [{}] because it is a synthetic target".format(target.address.spec))
return False
if self.get_options().exclude_patterns and re.match(self._exclude_patterns, target.address.spec):
self.context.log.debug("Skipping [{}] because it matches exclude pattern".format(target.address.spec))
return False
return True
After Change
if target.is_synthetic:
self.context.log.debug("Skipping [{}] because it is a synthetic target".format(target.address.spec))
return False
for pattern in self._exclude_patterns:
if pattern.search(target.address.spec):
self.context.log.debug(
"Skipping [{}] because it matches exclude pattern "{}"".format(target.address.spec, pattern.pattern))
return False
return True
def execute(self):
if self.get_options().skip:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: pantsbuild/pants
Commit Name: 528f3a015bb88a4227f7534c5a5373d16ddd9e05
Time: 2017-03-31
Author: cheister@gmail.com
File Name: contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py
Class Name: FindBugs
Method Name: _is_findbugs_target
Project Name: pantsbuild/pants
Commit Name: 944b42ca861551029d52eb308dc1dc7eb88d845f
Time: 2019-06-02
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/resolve_shared.py
Class Name: JvmResolverBase
Method Name: add_directory_digests_for_jars
Project Name: pantsbuild/pants
Commit Name: 528f3a015bb88a4227f7534c5a5373d16ddd9e05
Time: 2017-03-31
Author: cheister@gmail.com
File Name: contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py
Class Name: ErrorProne
Method Name: _is_errorprone_target