old_contents: # -*- coding: utf-8 -*-
  """Constants and definitions."""
  
  # The type indicator constants.
  TYPE_INDICATOR_ARTIFACT_GROUP = 'ARTIFACT_GROUP'
  TYPE_INDICATOR_COMMAND = 'COMMAND'
  TYPE_INDICATOR_DIRECTORY = 'DIRECTORY'
  TYPE_INDICATOR_ENVIRONMENT = 'ENVIRONMENT'
  TYPE_INDICATOR_FILE = 'FILE'
  TYPE_INDICATOR_PATH = 'PATH'
  TYPE_INDICATOR_WINDOWS_REGISTRY_KEY = 'REGISTRY_KEY'
  TYPE_INDICATOR_WINDOWS_REGISTRY_VALUE = 'REGISTRY_VALUE'
  TYPE_INDICATOR_WMI_QUERY = 'WMI'
  
  # yapf: disable
  TYPE_INDICATORS = frozenset([
      TYPE_INDICATOR_ARTIFACT_GROUP,
      TYPE_INDICATOR_COMMAND,
      TYPE_INDICATOR_DIRECTORY,
      TYPE_INDICATOR_ENVIRONMENT,
      TYPE_INDICATOR_FILE,
      TYPE_INDICATOR_PATH,
      TYPE_INDICATOR_WINDOWS_REGISTRY_KEY,
      TYPE_INDICATOR_WINDOWS_REGISTRY_VALUE,
      TYPE_INDICATOR_WMI_QUERY,
  ])
  # yapf: enable
  
  LABELS = {
      'Antivirus': 'Antivirus related artifacts, e.g. quarantine files.',
      'Authentication': 'Authentication artifacts.',
      'Browser': 'Web Browser artifacts.',
      'Cloud': 'Cloud applications artifacts.',
      'Cloud Storage': 'Cloud storage artifacts.',
      'Configuration Files': 'Configuration files artifacts.',
      'Execution': 'Contain execution events.',
      'ExternalAccount': ('Information about any users\' account, e.g. username, '
                          'account ID, etc.'),
      'External Media': 'Contain external media data or events e.g. USB drives.',
      'KnowledgeBase': 'Artifacts used in knowledge base generation.',
      'IM': 'Instant Messaging / Chat applications artifacts.',
      'iOS': 'Artifacts related to iOS devices connected to the system.',
      'History Files': 'History files artifacts e.g. .bash_history.',
      'KnowledgeBase': 'Artifacts used in knowledge base generation.',
      'Logs': 'Contain log files.',
      'Mail': 'Mail client applications artifacts.',
      'Memory': 'Artifacts retrieved from memory.',
      'Network': 'Describe networking state.',
      'Processes': 'Describe running processes.',
      'Rekall': 'Artifacts using the Rekall memory forensics framework.',
      'Software': 'Installed software.',
      'System': 'Core system artifacts.',
      'Users': 'Information about users.'
  }
  
  SUPPORTED_OS = frozenset(['Darwin', 'Linux', 'Windows'])
  
  # yapf: disable
  TOP_LEVEL_KEYS = frozenset([
      'conditions', 'doc', 'labels', 'name', 'provides', 'sources',
      'supported_os', 'urls'
  ])
  # yapf: enable
  
new_contents: # -*- coding: utf-8 -*-
  """Constants and definitions."""
  
  # The type indicator constants.
  TYPE_INDICATOR_ARTIFACT_GROUP = 'ARTIFACT_GROUP'
  TYPE_INDICATOR_COMMAND = 'COMMAND'
  TYPE_INDICATOR_DIRECTORY = 'DIRECTORY'
  TYPE_INDICATOR_ENVIRONMENT = 'ENVIRONMENT'
  TYPE_INDICATOR_FILE = 'FILE'
  TYPE_INDICATOR_PATH = 'PATH'
  TYPE_INDICATOR_WINDOWS_REGISTRY_KEY = 'REGISTRY_KEY'
  TYPE_INDICATOR_WINDOWS_REGISTRY_VALUE = 'REGISTRY_VALUE'
  TYPE_INDICATOR_WMI_QUERY = 'WMI'
  
  # yapf: disable
  TYPE_INDICATORS = frozenset([
      TYPE_INDICATOR_ARTIFACT_GROUP,
      TYPE_INDICATOR_COMMAND,
      TYPE_INDICATOR_DIRECTORY,
      TYPE_INDICATOR_ENVIRONMENT,
      TYPE_INDICATOR_FILE,
      TYPE_INDICATOR_PATH,
      TYPE_INDICATOR_WINDOWS_REGISTRY_KEY,
      TYPE_INDICATOR_WINDOWS_REGISTRY_VALUE,
      TYPE_INDICATOR_WMI_QUERY,
  ])
  # yapf: enable
  
  LABELS = {
      'Antivirus': 'Antivirus related artifacts, e.g. quarantine files.',
      'Authentication': 'Authentication artifacts.',
      'Browser': 'Web Browser artifacts.',
      'Cloud': 'Cloud applications artifacts.',
      'Cloud Storage': 'Cloud storage artifacts.',
      'Configuration Files': 'Configuration files artifacts.',
      'Execution': 'Contain execution events.',
      'ExternalAccount': ('Information about any user accounts e.g. username, '
                          'account ID, etc.'),
      'External Media': 'Contain external media data or events e.g. USB drives.',
      'KnowledgeBase': 'Artifacts used in knowledge base generation.',
      'IM': 'Instant Messaging / Chat applications artifacts.',
      'iOS': 'Artifacts related to iOS devices connected to the system.',
      'History Files': 'History files artifacts e.g. .bash_history.',
      'KnowledgeBase': 'Artifacts used in knowledge base generation.',
      'Logs': 'Contain log files.',
      'Mail': 'Mail client applications artifacts.',
      'Memory': 'Artifacts retrieved from memory.',
      'Network': 'Describe networking state.',
      'Processes': 'Describe running processes.',
      'Rekall': 'Artifacts using the Rekall memory forensics framework.',
      'Software': 'Installed software.',
      'System': 'Core system artifacts.',
      'Users': 'Information about users.'
  }
  
  SUPPORTED_OS = frozenset(['Darwin', 'Linux', 'Windows'])
  
  # yapf: disable
  TOP_LEVEL_KEYS = frozenset([
      'conditions', 'doc', 'labels', 'name', 'provides', 'sources',
      'supported_os', 'urls'
  ])
  # yapf: enable
  
subject: Simplify comment to remove escape char.