d66b4450036814567c2c87a944b55383fef761c6,contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter_task.py,ThriftLinterTask,_is_strict,#ThriftLinterTask#Any#,118
Before Change
if target.thrift_linter_strict is not None:
return self._to_bool(target.thrift_linter_strict)
return self._to_bool(
self._resolve_conflicting_options(
old_option="strict_default", new_option="strict_default"
),
)
def _lint(self, target, classpath):
self.context.log.debug(f"Linting {target.address.spec}")
After Change
if target.thrift_linter_strict is not None:
return self._to_bool(target.thrift_linter_strict)
return self._to_bool(subsystem_options.strict_default)
def _lint(self, target, classpath):
self.context.log.debug(f"Linting {target.address.spec}")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: pantsbuild/pants
Commit Name: d66b4450036814567c2c87a944b55383fef761c6
Time: 2020-03-05
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter_task.py
Class Name: ThriftLinterTask
Method Name: _is_strict
Project Name: pantsbuild/pants
Commit Name: c8f0abdcf2263f9e71261e68c5f24dd97f272332
Time: 2020-01-06
Author: ericarellano@me.com
File Name: contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter_task.py
Class Name: ThriftLinterTask
Method Name: _is_strict
Project Name: pantsbuild/pants
Commit Name: e9279f48f9de0cc4468201e64636f6d26e365dfa
Time: 2015-03-17
Author: stuhood@gmail.com
File Name: contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py
Class Name: ThriftLinter
Method Name: _is_strict