extract_flake8_inline_tags
- extract_flake8_inline_tags(notebook_cell: NotebookCell) → list[str][source]
Extract flake8-tags which were used as comment in a cell.
- Parameters:
notebook_cell (NotebookCell) – Dict representation of a notebook cell as parsed from JSON.
- Returns:
List of all inline tags in the given cell, which matched
FLAKE8_INLINE_TAG_PATTERN
.- Return type:
list[str]