updating pylint and fixing some pylint errors