Pylint run

A few errors shown by pylint addressed