Class PythonAutoFormatService

java.lang.Object
org.openrewrite.java.service.AutoFormatService
org.openrewrite.python.service.PythonAutoFormatService

public class PythonAutoFormatService extends org.openrewrite.java.service.AutoFormatService
Auto-format service for Python that dispatches formatting to the Python RPC side, where the actual formatting visitors (blank lines, spaces, indentation, etc.) are implemented.
  • Constructor Details

    • PythonAutoFormatService

      public PythonAutoFormatService()
  • Method Details

    • autoFormatVisitor

      public <P> org.openrewrite.java.JavaVisitor<P> autoFormatVisitor(@Nullable org.openrewrite.Tree stopAfter)
      Overrides:
      autoFormatVisitor in class org.openrewrite.java.service.AutoFormatService