def validate_executor_config(cls, config: dict[str, Any]):
        """To be overridden by subclasses if they accept options"""
        extra_options = set(config.keys()) - {"type"}
        if extra_options:
            raise ConfigValidationError(
                f"Unexpected keys for executor config: {extra_options!r}",
                global_option="executor",
            )
To be overridden by subclasses if they accept options
poethepoet/executor/base.py