set_flake8_option

Flake8NbApplication.set_flake8_option(long_option_name: str, *args: Any, **kwargs: Any) None[source]

Overwrite flake8 options.

First deletes and than reads an option to flake8’s cli options, if it was present. If the option wasn’t present, it just adds it.

Parameters:
  • long_option_name (str) – Long name of the flake8 cli option.

  • args (Tuple[Any]) – Arbitrary args

  • kwargs (Dict[str, Any]) – Arbitrary kwargs