formatting changes suggested by pylint