84:45: W291 trailing whitespace
489:16: E713 test for membership should be 'not in'
497:20: E713 test for membership should be 'not in'