E703 statement ends with a semicolon
E712 comparison to False should be 'if cond is False
E712 comparison to True should be 'if cond is True
E713 test for membership should be 'not in'
E714 test for object identity should be 'is not'
E721 do not compare types, for exact checks use is / is not, for instance checks use isinstance()
E722 do not use bare 'except'
E741 ambiguous variable name 'l'
Flake8 reported some Python style related errors:
E703 statement ends with a semicolon E712 comparison to False should be 'if cond is False E712 comparison to True should be 'if cond is True E713 test for membership should be 'not in' E714 test for object identity should be 'is not' E721 do not compare types, for exact checks use is / is not, for instance checks use isinstance() E722 do not use bare 'except' E741 ambiguous variable name 'l'
Fix these errors.