02a2d327ab2d25aec3a28d5c0b7f594c346f33b4,src/python/pants/help/help_printer.py,HelpPrinter,_print_goals_help,#HelpPrinter#,69
Before Change
if global_options.v2:
for scope_info in self._options.known_scope_to_info.values():
optionable_cls = scope_info.optionable_cls
if optionable_cls is None or not issubclass(optionable_cls, GoalSubsystem):
continue
is_implemented = self._union_membership.has_members_for_all(
optionable_cls.required_union_implementations
)
if not is_implemented:
After Change
def _print_goals_help(self) -> None:
goal_descriptions: Dict[str, str] = {}
for goal_info in self._all_help_info.name_to_goal_info.values():
if goal_info.is_implemented:
goal_descriptions[goal_info.name] = goal_info.description
title_text = "Goals"
title = f"{title_text}\n{"-" * len(title_text)}"
if self._use_color:
title = green(title)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pantsbuild/pants
Commit Name: 02a2d327ab2d25aec3a28d5c0b7f594c346f33b4
Time: 2020-07-07
Author: benjyw@gmail.com
File Name: src/python/pants/help/help_printer.py
Class Name: HelpPrinter
Method Name: _print_goals_help
Project Name: biolab/orange3
Commit Name: 1f672c9a3f5d92222fca15d585eee296c14d518c
Time: 2015-06-24
Author: anze.staric@gmail.com
File Name: Orange/tests/test_classification.py
Class Name: LearnerAccessibility
Method Name: test_all_learners_accessible_in_Orange_classification_namespace
Project Name: facebookresearch/pytext
Commit Name: 73aba0c734d52bb3268caec8a0496d767ebf0f33
Time: 2019-04-29
Author: egaudet@fb.com
File Name: pytext/models/model.py
Class Name: ModelInputMeta
Method Name: __new__