diff --git a/tutorpicasso/commands/run_extra_commands.py b/tutorpicasso/commands/run_extra_commands.py index 40732c2..3469cbe 100644 --- a/tutorpicasso/commands/run_extra_commands.py +++ b/tutorpicasso/commands/run_extra_commands.py @@ -24,8 +24,7 @@ def run_extra_commands() -> None: picasso_extra_commands: Any = config.get("PICASSO_EXTRA_COMMANDS", None) if picasso_extra_commands is not None: validate_commands(picasso_extra_commands) - for command in picasso_extra_commands: - run_command(command) + list(map(run_command, picasso_extra_commands)) def validate_commands(commands: Any) -> None: