Fix sentax related style errors

Fixed Errors
------------
W603: ‘<>’ is deprecated, use ‘!=’
E703: statement ends with a semicolon

Ignored Errors
--------------
E711: comparison to None should be ‘if cond is None:’
E712: comparison to True should be ‘if cond is True:’ or ‘if cond:’
Fix line-length related style errors.

Line length limit is 119.

Fixed errors:
------------
E501: line too long
Fix imports related style errors

Fixed Errors
------------
F401: imported but not used

Ignored Errors
--------------
F403: 'import *' used, unable to detect undefined names.
Move and edit requirements file