Fixed more issues pointed by pylint and instruct pylint to ignore certain imports