Class Python
java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.python.Python
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddefaultIncludes(org.apache.maven.project.MavenProject project) Methods inherited from class com.diffplug.spotless.maven.FormatterFactory
addEclipseWtp, addEndWithNewline, addIdea, addIndent, addJsr223, addLicenseHeader, addNativeCmd, addPrettier, addReplace, addReplaceRegex, addStepFactory, addToggleOffOn, addTrimTrailingWhitespace, excludes, includes, init, newFormatter
-
Constructor Details
-
Python
public Python()
-
-
Method Details
-
defaultIncludes
- Specified by:
defaultIncludesin classFormatterFactory
-
licenseHeaderDelimiter
- Specified by:
licenseHeaderDelimiterin classFormatterFactory
-
addBlack
-