Formatters

class Formatter[source]

Rattle post-transform code style and formatting interface.

STYLE: str

Short name to identify this formatting style in user configuration. For example: "black".

format(module, _path)[source]

Format the given Module and return it as UTF-8 encoded bytes.