def handle(self, error: 'Violation') -> None:
    'Handle an error reported by Flake8.\n\n        This defaults to calling :meth:`format`, :meth:`show_source`, and\n        then :meth:`write`. To extend how errors are handled, override this\n        method.\n\n        :param error:\n            This will be an instance of\n            :class:`~flake8.style_guide.Violation`.\n        :type error:\n            flake8.style_guide.Violation\n        '
    line = self.format(error)
    source = self.show_source(error)
    self.write(line, source)
Handle an error reported by Flake8.

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

:param error:
    This will be an instance of
    :class:`~flake8.style_guide.Violation`.
:type error:
    flake8.style_guide.Violation
def handle(self, error: 'Violation') -> None:
    'Handle an error reported by Flake8.\n\n        This defaults to calling :meth:`format`, :meth:`show_source`, and\n        then :meth:`write`. To extend how errors are handled, override this\n        method.\n\n        :param error:\n            This will be an instance of\n            :class:`~flake8.style_guide.Violation`.\n        :type error:\n            flake8.style_guide.Violation\n        '
    line = self.format(error)
    source = self.show_source(error)
    self.write(line, source)