use the noqa comment:
Code:
def onReturn(self, event): # noqa
self.brain.doIt(self.entry.get(), "", "")
self.entry.delete(0, tk.END)
return 'break'