old_contents: from .api import (
      Distribution, PackageNotFoundError, distribution, distributions,
      entry_points, files, metadata, requires, version)
  
  # Import for installation side-effects.
  from . import _hooks  # noqa: F401
  
  
  __all__ = [
      'Distribution',
      'PackageNotFoundError',
      'distribution',
      'distributions',
      'entry_points',
      'files',
      'metadata',
      'requires',
      'version',
      ]
  
  
  __version__ = version(__name__)
  
new_contents: from .api import (
      Distribution, PackageNotFoundError, distribution, distributions,
      entry_points, files, metadata, requires, version)
  
  # Import for installation side-effects.
  __import__('importlib_metadata._hooks')
  
  
  __all__ = [
      'Distribution',
      'PackageNotFoundError',
      'distribution',
      'distributions',
      'entry_points',
      'files',
      'metadata',
      'requires',
      'version',
      ]
  
  
  __version__ = version(__name__)
  
subject: Use imperative import to avoid lint (import order) and as a good convention when side-effects is the intention.