InvalidFlake8TagWarning

exception InvalidFlake8TagWarning(flake8_tag: str)[source]

Warning thrown when a tag is badly formatted.

When a cell tag starts with ‘flake8-noqa-’ but doesn’t match the correct pattern needed for cell tags. This is used to show users that they have a typo in their tags.

Create InvalidFlake8TagWarning.

Parameters:

flake8_tag (str) – Used improperly formatted flake8-nb tag