Refactoring: fix Travis build on 7.0 branch

lots of pylint checks are failing and making Travis red. 

fix them all...