third_party/blink/tools/blinkpy/style/filter.py
def should_check(self, category, path):
        """Return whether the given category should be checked.

        This method determines whether a category should be checked
        by checking the category name against the filter rules for
        the given path.

        For a given path, the filter rules are the combination of
        the base rules, the path-specific rules, and the user-provided
        rules -- in that order.  As we will describe below, later rules
        in the list take precedence.  The path-specific rules are the
        rules corresponding to the first element of the "path_specific"
        parameter that contains a string case-insensitively matching
        some substring of the path.  If there is no such element,
        there are no path-specific rules for that path.

        Given a list of filter rules, the logic for determining whether
        a category should be checked is as follows.  By default all
        categories should be checked.  Then apply the filter rules in
        order from first to last, with later flags taking precedence.

        A filter rule applies to a category if the string after the
        leading plus/minus (+/-) matches the beginning of the category
        name.  A plus (+) means the category should be checked, while a
        minus (-) means the category should not be checked.

        Args:
          category: The category name.
          path: The path of the file being checked.
        """
        return self._filter_from_path(path).should_check(category)
Return whether the given category should be checked.

        This method determines whether a category should be checked
        by checking the category name against the filter rules for
        the given path.

        For a given path, the filter rules are the combination of
        the base rules, the path-specific rules, and the user-provided
        rules -- in that order.  As we will describe below, later rules
        in the list take precedence.  The path-specific rules are the
        rules corresponding to the first element of the "path_specific"
        parameter that contains a string case-insensitively matching
        some substring of the path.  If there is no such element,
        there are no path-specific rules for that path.

        Given a list of filter rules, the logic for determining whether
        a category should be checked is as follows.  By default all
        categories should be checked.  Then apply the filter rules in
        order from first to last, with later flags taking precedence.

        A filter rule applies to a category if the string after the
        leading plus/minus (+/-) matches the beginning of the category
        name.  A plus (+) means the category should be checked, while a
        minus (-) means the category should not be checked.

        Args:
          category: The category name.
          path: The path of the file being checked.
        
Return whether the given category should be checked.
This method determines whether a category should be checked
by checking the category name against the filter rules for
the given path.

For a given path, the filter rules are the combination of
the base rules, the path-specific rules, and the user-provided
rules -- in that order.  As we will describe below, later rules
in the list take precedence.  The path-specific rules are the
rules corresponding to the first element of the "path_specific"
parameter that contains a string case-insensitively matching
some substring of the path.  If there is no such element,
there are no path-specific rules for that path.

Given a list of filter rules, the logic for determining whether
a category should be checked is as follows.  By default all
categories should be checked.  Then apply the filter rules in
order from first to last, with later flags taking precedence.

A filter rule applies to a category if the string after the
leading plus/minus (+/-) matches the beginning of the category
name.  A plus (+) means the category should be checked, while a
minus (-) means the category should not be checked.
Return whether the given category should be checked . This method determines whether a category should be checked by checking the category name against the filter rules for the given path . For a given path the filter rules are the combination of the base rules the path - specific rules and the user - provided rules -- in that order . As we will describe below later rules in the list take precedence . The path - specific rules are the rules corresponding to the first element of the " path_specific " parameter that contains a string case - insensitively matching some substring of the path . If there is no such element there are no path - specific rules for that path . Given a list of filter rules the logic for determining whether a category should be checked is as follows . By default all categories should be checked . Then apply the filter rules in order from first to last with later flags taking precedence . A filter rule applies to a category if the string after the leading plus / minus ( + / - ) matches the beginning of the category name . A plus ( + ) means the category should be checked while a minus ( - ) means the category should not be checked .
def should_check(self, category, path):
        return self._filter_from_path(path).should_check(category)
def should_check ( self , category , path ) : return self . _filter_from_path ( path ) . should_check ( category )
Return whether the given category should be checked.
Return whether the given category should be checked .
"""Return whether the given category should be checked.

        This method determines whether a category should be checked
        by checking the category name against the filter rules for
        the given path.

        For a given path, the filter rules are the combination of
        the base rules, the path-specific rules, and the user-provided
        rules -- in that order.  As we will describe below, later rules
        in the list take precedence.  The path-specific rules are the
        rules corresponding to the first element of the "path_specific"
        parameter that contains a string case-insensitively matching
        some substring of the path.  If there is no such element,
        there are no path-specific rules for that path.

        Given a list of filter rules, the logic for determining whether
        a category should be checked is as follows.  By default all
        categories should be checked.  Then apply the filter rules in
        order from first to last, with later flags taking precedence.

        A filter rule applies to a category if the string after the
        leading plus/minus (+/-) matches the beginning of the category
        name.  A plus (+) means the category should be checked, while a
        minus (-) means the category should not be checked.

        Args:
          category: The category name.
          path: The path of the file being checked.
        """
self
category
The category name.
The category name .
path
The path of the file being checked.
The path of the file being checked .