Skip to content

0.0.6 — Python formatting support

Choose a tag to compare

@javanoo6 javanoo6 released this 27 Oct 08:45

Adds Python formatting for .py, .pyw, and .pyi files using the bundled JetBrains Python Community Edition plugin.

  • Respect .editorconfig, including Python indentation settings.
  • Format Python without installing a Python interpreter.
  • Support one-shot formatting and repeated daemon requests.
  • Include TOML support required by the Python plugin.

Download formatter-cli-full.jar and verify it against SHA256SUMS. JDK 21 is required.

java -jar formatter-cli-full.jar --format /absolute/path/to/script.py

Python import sorting and unused-import removal remain unsupported in the standalone temporary project; --optimize-imports may leave Python imports unchanged. YAML and Bash formatting are not included in this release.

Validation: clean Maven reactor build and six integration checks covering .py, .pyw, .pyi, EditorConfig indentation, daemon reuse and idempotence, combined operation flags, and Java/JSON/Markdown regression checks on Linux with JDK 21. macOS was not retested for this release.

Released from python-formatting-support.