Many thanks go to the creators and contributors of flake8. Which inspired me to write this hack on top of it and supplies nearly all of the functionality.
This packages skeleton was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
The idea to use cell tags was inspired by the use of cell tags in nbval.