Right now the generated python code isn't formatted. We could use Ruff or Black to programmatically format the code See https://github.com/astral-sh/ruff/issues/8401#issuecomment-1788806462