Fix linting errors

These escaped the iniial linting checks because fail_on_warning isn't enabled. I'm working with @cmurphy toget thatfixed in modulesync.