Fix enough pylint violations to make the build pass.