kobaltcore / renpyfmt

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 96.9%Language:Starlark 3.1%Language:Makefile 0.0%