semvec/pypi-packages huggingface dataset:
renpyfmt 1.0.0
A Ren'Py formatter.
License: MIT
Requires Python: >=3.10,<3.12

![](docs/banner.jpg "renpyfmt logo")

# renpyfmt

`renpyfmt` is a source code formatter for Ren'Py script.

Right now it only supports formatting blocks of Python code contained within Ren'Py script files, but the intent is to expand this to allow formatting of actual Ren'Py script as well.

The contained Python source code is formatted via [black](https://github.com/psf/black).

All Python related statements are supported:
- `$` single-line statements
- `python:` blocks
- `init python:` blocks
- `python early:` blocks

<a href="https://unsplash.com/photos/E8Ufcyxz514?utm_source=unsplash&utm_medium=referral&utm_content=creditShareLink">Photo by Milad Fakurian on Unsplash</a>