hack_flake8_program_and_version

Flake8NbApplication.hack_flake8_program_and_version(program: str, version: str) None[source]

Hack to overwrite the program name and version of flake8.

This is needed because those values are hard coded at creation of self.option_manager.

Parameters:
  • program (str) – Name of the program

  • version (str) – Version of the program