coalib.parsing.filters package

Submodules

coalib.parsing.filters.CanDetectFilter module

coalib.parsing.filters.CanDetectFilter.can_detect_filter(bear, args)[source]

Filters the bears by CAN_DETECT.

Parameters:
  • bear – Bear object.
  • args – Set of detectable issue types on which bear is to be filtered.
Returns:

True if this bear matches the criteria inside args, False otherwise.

coalib.parsing.filters.CanFixFilter module

coalib.parsing.filters.CanFixFilter.can_fix_filter(bear, args)[source]

Filters the bears by CAN_FIX.

Parameters:
  • bear – Bear object.
  • args – Set of fixable issue types on which bear is to be filtered.
Returns:

True if this bear matches the criteria inside args, False otherwise.

coalib.parsing.filters.LanguageFilter module

coalib.parsing.filters.LanguageFilter.language_filter(bear, args)[source]

Filters the bears by LANGUAGES.

Parameters:
  • bear – Bear object.
  • args – Set of languages on which bear is to be filtered.
Returns:

True if this bear matches the criteria inside args, False otherwise.

Module contents

This package holds filter functions. Filter objects are used to get a list of bears with specific properties.