FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

prettier/plugin-python: Prettier Python Plugin · GitHub

This repository was archived by the owner on Oct 1, 2019. It is now read-only.

Repository navigation

Public archive

About

Prettier Python Plugin

Topics

Resources

Code of conduct

Security policy

Stars

520 stars

Watchers

6 watching

Forks

Repository files navigation

This plugin is deprecated.

We recommend you use Black instead.


Prettier Python Plugin

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.
  • Run yarn prettier -- --write test.py to rewrite file.
  • Check out yarn prettier -- --help for other options.

Install

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

Use

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

Maintainers


Patrick Arminio

Danny Weinberg

Ryan Ashcraft

About

Prettier Python Plugin

Topics

Resources

Code of conduct

Security policy

Stars

520 stars

Watchers

6 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL