original_docstring: 
          return list of categories, i.e., list of subdirectories
          in plugin directory; if category is disabled return
          empty list
  
          :return: list of categories, if category is disabled empty list
          :rtype: list
          
docstring: return list of categories, i.e., list of subdirectories
  in plugin directory; if category is disabled return
  empty list
docstring_tokens: return list of categories i . e . list of subdirectories in plugin directory ; if category is disabled return empty list
code: def categories(self) -> list:
          """
          return list of categories, i.e., list of subdirectories
          in plugin directory; if category is disabled return
          empty list
  
          :return: list of categories, if category is disabled empty list
          :rtype: list
          """
          if not self.use_category:
              # categories not used, return empty list
              return []
  
          return [
              directory.parents[1].name
              for directory in self.plugins_directory.glob(
                  f"**/{Metadata.METADATA_FILENAME}"
              )
              if directory
          ]
code_tokens: def categories ( self ) -> list : if not self . use_category : return [ ] return [ directory . parents [ 1 ] . name for directory in self . plugins_directory . glob ( f"**/{Metadata.METADATA_FILENAME}" ) if directory ]
short_docstring: return list of categories, i.e., list of subdirectories
  in plugin directory; if category is disabled return
  empty list
short_docstring_tokens: return list of categories i . e . list of subdirectories in plugin directory ; if category is disabled return empty list
comment: """
          return list of categories, i.e., list of subdirectories
          in plugin directory; if category is disabled return
          empty list
  
          :return: list of categories, if category is disabled empty list
          :rtype: list
          """$SEP$# categories not used, return empty list