class_docstr: Abstract our application into a class.
class_docstr_tok: ["Abstract","our","application","into","a","class","."]
docstr: Run our application.
  
  This method will also handle KeyboardInterrupt exceptions for the
  entirety of the flake8 application. If it sees a KeyboardInterrupt it
  will forcibly clean up the :class:`~flake8.checker.Manager`.
docstr_tok: ["Run","our","application",".","This","method","will","also","handle","KeyboardInterrupt","exceptions","for","the","entirety","of","the","flake8","application",".","If","it","sees","a","KeyboardInterrupt","it","will","forcibly","clean","up","the",":","class",":","`","~flake8.checker.Manager","`","."]
code: def run(self, argv: Sequence[str]) -> None:
      """Run our application.
  
      This method will also handle KeyboardInterrupt exceptions for the
      entirety of the flake8 application. If it sees a KeyboardInterrupt it
      will forcibly clean up the :class:`~flake8.checker.Manager`.
      """
      try:
          self._run(argv)
      except KeyboardInterrupt as exc:
          print("... stopped")
          LOG.critical("Caught keyboard interrupt from user")
          LOG.exception(exc)
          self.catastrophic_failure = True
      except exceptions.ExecutionError as exc:
          print(
              "There was a critical error during execution of Flake8:"
          )
          print(exc)
          LOG.exception(exc)
          self.catastrophic_failure = True
      except exceptions.EarlyQuit:
          self.catastrophic_failure = True
          print("... stopped while processing files")
      else:
          assert self.options is not None
          if self.options.count:
              print(self.result_count)
  
imports: from __future__ import annotations
  import argparse
  import json
  import logging
  import time
  from typing import Sequence
  import flake8
  from flake8 import checker
  from flake8 import defaults
  from flake8 import exceptions
  from flake8 import style_guide
  from flake8.formatting.base import BaseFormatter
  from flake8.main import debug
  from flake8.options.parse_args import parse_args
  from flake8.plugins import finder
  from flake8.plugins import reporter
label_desc: Use image node_id 13 for calling the Application obj's underlying member method code with example usage: obj.run(argv) without return types