parse_preliminary_options

Flake8NbApplication.parse_preliminary_options(argv: Sequence[str]) Tuple[Namespace, List[str]]

Get preliminary options from the CLI, pre-plugin-loading.

We need to know the values of a few standard options so that we can locate configuration files and configure logging.

Since plugins aren’t loaded yet, there may be some as-yet-unknown options; we ignore those for now, they’ll be parsed later when we do real option parsing.

Parameters:

argv – Command-line arguments passed in directly.

Returns:

Populated namespace and list of remaining argument strings.