PyLint cleanups