[style] Removed all redundant paratheses

Automatic cleanup with PyCharm
[style] Removed all unnecessary backslashs in line continuation

Automatic cleanup with PyCharm
[style] Fixed inconsistent identation

Automatic cleanup with PyCharm
[style] Create dict/list as literal when possible

Automatic cleanup with PyCharm
[style] Use augmented assignment when possible

Automatic cleanup with PyCharm
[style] Simplified boolean tests

Automatic cleanup with PyCharm
Testing for None must use 'is'

Automatic cleanup with PyCharm
Default parameter must not be mutable

Automatic cleanup with PyCharm
Local variable possibly referenced before assignment

Automatic cleanup with PyCharm
Do not use the 'callable' Python keyword as arg name

Automatic cleanup with PyCharm
[style] Remove trailing semi-colons

Automatic cleanup with PyCharm