gin/config.py
def _should_skip(selector, skip_unknown):
  """Checks whether `selector` should be skipped (if unknown)."""
  _validate_skip_unknown(skip_unknown)
  if _REGISTRY.matching_selectors(selector):
    return False  # Never skip known configurables.
  if isinstance(skip_unknown, (list, tuple, set)):
    return selector in skip_unknown
  return skip_unknown
def _should_skip(selector, skip_unknown):
  """Checks whether `selector` should be skipped (if unknown)."""
  _validate_skip_unknown(skip_unknown)
  if _REGISTRY.matching_selectors(selector):
    return False  # Never skip known configurables.
  if isinstance(skip_unknown, (list, tuple, set)):
    return selector in skip_unknown
  return skip_unknown
def _should_skip ( selector , skip_unknown ) : _validate_skip_unknown ( skip_unknown ) if _REGISTRY . matching_selectors ( selector ) : return False # Never skip known configurables. if isinstance ( skip_unknown , ( list , tuple , set ) ) : return selector in skip_unknown return skip_unknown
Checks whether `selector` should be skipped (if unknown).
Checks whether selector should be skipped ( if unknown ) .