PyFlakes and PEP8 updates