Class Python

java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.python.Python

public class Python extends FormatterFactory
A FormatterFactory implementation that corresponds to <python>...</python> configuration element.

It defines a formatter for python source files that can execute both language agnostic (e.g. LicenseHeader) and python-specific (e.g. Black) steps.