Pylint violation fixes