pylint style fixes