flawless/server/service.py
def _matches_filepath_pattern(self, filepath):
        '''Given a filepath, and a list of regex patterns, this function returns true
        if filepath matches any one of those patterns'''
        if not self.only_blame_patterns:
            return True

        for pattern in self.only_blame_patterns:
            if pattern.match(filepath):
                return True
        return False
def _matches_filepath_pattern(self, filepath):
        '''Given a filepath, and a list of regex patterns, this function returns true
        if filepath matches any one of those patterns'''
        if not self.only_blame_patterns:
            return True

        for pattern in self.only_blame_patterns:
            if pattern.match(filepath):
                return True
        return False
def _matches_filepath_pattern ( self , filepath ) : if not self . only_blame_patterns : return True for pattern in self . only_blame_patterns : if pattern . match ( filepath ) : return True return False
Given a filepath, and a list of regex patterns, this function returns true
        if filepath matches any one of those patterns
Given a filepath and a list of regex patterns this function returns true if filepath matches any one of those patterns