Sha256: 948d646f39b84c7f1082147e3bb9dea3b550b0517284f740940bc1c2c8e59f50
Contents?: true
Size: 696 Bytes
Versions: 9
Compression:
Stored size: 696 Bytes
Contents
""" reporter used by gui.py """ import sys from pylint.interfaces import IReporter from pylint.reporters import BaseReporter from pylint.reporters.ureports.text_writer import TextWriter class GUIReporter(BaseReporter): """saves messages""" __implements__ = IReporter extension = '' def __init__(self, gui, output=sys.stdout): """init""" BaseReporter.__init__(self, output) self.gui = gui def handle_message(self, msg): """manage message of different type and in the context of path""" self.gui.msg_queue.put(msg) def _display(self, layout): """launch layouts display""" TextWriter().format(layout, self.out)
Version data entries
9 entries across 9 versions & 2 rubygems