PyLint cleanup

Who doesn't want a higher PyLint score, right?