@prettier/plugin-python

Prettier Python Plugin

Usage no npm install needed!

<script type="module">
  import prettierPluginPython from 'https://cdn.skypack.dev/@prettier/plugin-python';
</script>

README

:construction: Work in Progress! :construction:

Prettier Python

Prettier Python Plugin

Gitter Travis npm version code style: prettier Follow+Prettier+on+Twitter

WORK IN PROGRESS

Please note that this plugin is under active development, and might not be ready to run on production code yet.

Contributing

If you're interested in contributing to the development of Prettier for Python, you can follow the CONTRIBUTING guide from Prettier, as it all applies to this repository too.

To test it out on a Python file:

  • Clone this repository.
  • Run yarn.
  • Create a file called test.py.
  • Run yarn prettier test.py to check the output.

Install

yarn add --dev --exact prettier @prettier/plugin-python

Use

prettier --write "**/*.py"

Maintainers


Patrick Arminio