CDLUC3 / ezid

CDLUC3 ezid
MIT License
10 stars 4 forks source link

Fix Flake8 reported style related errors #760

Open jsjiang opened 1 month ago

jsjiang commented 1 month ago

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.