fix random pylint errors

Shouldn't be any functional changes here.
6 files changed