original_docstring: Check if given globbing expressions match any file of the last scan.
  
          @param unwanted_files: list of regular expressions of unwanted files
          in the project. Each item of the list must be specified in the
          specific format of this module: '(path, type, extra)'.
  
          
docstring: Check if given globbing expressions match any file of the last scan.
docstring_tokens: Check if given globbing expressions match any file of the last scan .
code: def unwanted(self, unwanted_files):
          """Check if given globbing expressions match any file of the last scan.
  
          @param unwanted_files: list of regular expressions of unwanted files
          in the project. Each item of the list must be specified in the
          specific format of this module: '(path, type, extra)'.
  
          """
          import fnmatch
          import re
          unwanted = []
  
          for unwanted_file in unwanted_files:
              pattern = re.compile(fnmatch.translate(unwanted_file[0]))
              for _file in self.files:
                  if re.match(pattern, _file[0]) and (unwanted_file[1:] == _file[1:]):
                      unwanted.append(_file)
  
          return unwanted
code_tokens: def unwanted ( self , unwanted_files ) : import fnmatch import re unwanted = [ ] for unwanted_file in unwanted_files : pattern = re . compile ( fnmatch . translate ( unwanted_file [ 0 ] ) ) for _file in self . files : if re . match ( pattern , _file [ 0 ] ) and ( unwanted_file [ 1 : ] == _file [ 1 : ] ) : unwanted . append ( _file ) return unwanted
short_docstring: Check if given globbing expressions match any file of the last scan.
short_docstring_tokens: Check if given globbing expressions match any file of the last scan .
comment: """Check if given globbing expressions match any file of the last scan.
  
          @param unwanted_files: list of regular expressions of unwanted files
          in the project. Each item of the list must be specified in the
          specific format of this module: '(path, type, extra)'.
  
          """