diff --git a/slackblocks/elements.py b/slackblocks/elements.py index fc5bd58..386ba06 100644 --- a/slackblocks/elements.py +++ b/slackblocks/elements.py @@ -526,7 +526,9 @@ def __init__( if ( option_groups and self.initial_options - and not all(isinstance(option, OptionGroup) for option in self.initial_options) + and not all( + isinstance(option, OptionGroup) for option in self.initial_options + ) ): raise InvalidUsageError( "If using `option_groups` then `initial_options` must also be of type "