Ejemplo n.º 1
0
def main():
    try:
        while True:
            codelines = util.pymacs_recv(sys.stdin)
            print '\n'.join(imap(str, ppyflakes(codelines)))
    except KeyboardInterrupt:
        pass
Ejemplo n.º 2
0
def test_flynote_recv():
    eq(util.pymacs_recv(iter([">3 hi\n"])), ["hi\n"])