old_contents: import pkg_resources
  
  try:
      __version__ = pkg_resources.get_distribution('pwlf').version
  except Exception:
      __version__ = 'unknown'
new_contents: import pkg_resources
  
  try:
      __version__ = pkg_resources.get_distribution('pwlf').version
  except Exception:
      __version__ = 'unknown'
  
subject: add new line to end of file to make flake8 hapy