extract_flake8_tags

extract_flake8_tags(notebook_cell: NotebookCell) list[str][source]

Extract all tag that start with ‘flake8-noqa-’ from a cell.

Parameters:

notebook_cell (NotebookCell) – Dict representation of a notebook cell as parsed from JSON.

Returns:

List of all tags in the given cell, which started with ‘flake8-noqa-‘.

Return type:

list[str]