Address PEP 8 linter complaints.
Address PEP 8 linter complaints.

We are adding a linter that enforces PEP 8 style in Python files soon.
Get rid of existing Python style violations (within reason) before
introducing more via copy-paste.

[endlessm/eos-sdk#3029]

endlessm/eos-metrics,endlessm/eos-metrics,endlessm/eos-metrics,endlessm/eos-metrics,endlessm/eos-metrics,endlessm/eos-metrics