pylint cleanup of PyFlags