Skip to content

A Ren'Py formatter. Only Python blocks for now.

License

Notifications You must be signed in to change notification settings

kobaltcore/renpyfmt

Repository files navigation

renpyfmt

renpyfmt is an opinionated source code formatter for Ren'Py script.

pip install renpyfmt

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.

All Python related statements are supported:

  • $ single-line statements
  • python: blocks
  • init python: blocks
  • python early: blocks

Photo by Milad Fakurian on Unsplash