Metadata-Version: 2.1
Name: renpyfmt
Version: 1.0.0
Summary: A Ren'Py formatter.
License: MIT
Author: cobaltcore
Author-email: cobaltcore@yandex.com
Requires-Python: >=3.10,<3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: mypy-extensions (>=0.4.3,<0.5.0)
Requires-Dist: pathspec (>=0.11.0,<0.12.0)
Requires-Dist: rich-click (>=1.6.1,<2.0.0)
Description-Content-Type: text/markdown

![](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>

