Pylint corrections in some files