@classmethod
  def get_scope_info(cls):
    if cls.options_scope is None or cls.options_scope_category is None:
      raise OptionsError(
        '{} must set options_scope and options_scope_category.'.format(cls.__name__))
    return ScopeInfo(cls.options_scope, cls.options_scope_category, cls)
Returns a ScopeInfo instance representing this Optionable's options scope.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/option/optionable.py/Optionable.get_scope_info