Reformatting Twitter Search results filter code according to PEP8