line length and pylint fixes