old_contents: """SophosXG (SFOS) Firewall support"""
  import time
  from netmiko.cisco_base_connection import CiscoSSHConnection
  
  class SophosSfosSSH(CiscoSSHConnection):
      def session_preparation(self):
          """Prepare the session after the connection has been established."""
          self._test_channel_read()
          """
          Sophos Firmware Version SFOS 18.0.0 GA-Build339
  
          Main Menu
  
              1.  Network  Configuration
              2.  System   Configuration
              3.  Route    Configuration
              4.  Device Console
              5.  Device Management
              6.  VPN Management
              7.  Shutdown/Reboot Device
              0.  Exit
  
              Select Menu Number [0-7]:
          """
          self.write_channel("4" + self.RETURN)
          self._test_channel_read(pattern=r"[console>]")
          self.set_base_prompt()
          # Clear the read buffer
          time.sleep(0.3 * self.global_delay_factor)
          self.clear_buffer()
  
      def check_enable_mode(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def enable(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def exit_enable_mode(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def check_config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          pass
  
      def config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          return ""
  
      def exit_config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          return ""
  
      def save_config(self, *args, **kwargs):
          """Not Implemented"""
          raise NotImplementedError
  
new_contents: """SophosXG (SFOS) Firewall support"""
  import time
  from netmiko.cisco_base_connection import CiscoSSHConnection
  
  
  class SophosSfosSSH(CiscoSSHConnection):
      def session_preparation(self):
          """Prepare the session after the connection has been established."""
          self._test_channel_read()
          """
          Sophos Firmware Version SFOS 18.0.0 GA-Build339
  
          Main Menu
  
              1.  Network  Configuration
              2.  System   Configuration
              3.  Route    Configuration
              4.  Device Console
              5.  Device Management
              6.  VPN Management
              7.  Shutdown/Reboot Device
              0.  Exit
  
              Select Menu Number [0-7]:
          """
          self.write_channel("4" + self.RETURN)
          self._test_channel_read(pattern=r"[console>]")
          self.set_base_prompt()
          # Clear the read buffer
          time.sleep(0.3 * self.global_delay_factor)
          self.clear_buffer()
  
      def check_enable_mode(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def enable(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def exit_enable_mode(self, *args, **kwargs):
          """No enable mode on SFOS"""
          pass
  
      def check_config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          pass
  
      def config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          return ""
  
      def exit_config_mode(self, *args, **kwargs):
          """No config mode on SFOS"""
          return ""
  
      def save_config(self, *args, **kwargs):
          """Not Implemented"""
          raise NotImplementedError
  
subject: Fix pep8 warnings