fix pylint errors to follow salt code conventions