7.0 fix pylint errors in travis build