pylint cleanup on parse_config