handle

IpynbFormatter.handle(error: Violation) None

Handle an error reported by Flake8.

This defaults to calling format(), show_source(), and then write(). To extend how errors are handled, override this method.

Parameters:

error – This will be an instance of Violation.