Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennethreitz-archive/white
The Black code formatter, but brighter (PEP8–inspired).
https://github.com/kennethreitz-archive/white
autopep8 black code codeformatter gofmt pyfmt python yapf
Last synced: 2 months ago
JSON representation
The Black code formatter, but brighter (PEP8–inspired).
- Host: GitHub
- URL: https://github.com/kennethreitz-archive/white
- Owner: kennethreitz-archive
- Archived: true
- Created: 2018-03-15T10:12:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-07T21:13:52.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T08:44:41.835Z (3 months ago)
- Topics: autopep8, black, code, codeformatter, gofmt, pyfmt, python, yapf
- Language: Python
- Homepage: https://github.com/ambv/black
- Size: 24.4 KB
- Stars: 121
- Watchers: 6
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
White: Black, but brighter (PEP8–inspired)
==========================================`Black `_ is an amazing tool for auto–formatting
Python code in a style that I prefer. I use it in all my projects.It has **one** configuration option — to change its default line–length of ``88``
chars to, say, ``79``, like `PEP8 `_ recommends.-----------
That is *exactly* what **white** does. It invokes ``$ black --line-length 79`` on your behalf.
Usage
=====::
$ white myapp.py
reformatted myapp.py
.. image:: http://share.kennethreitz.org/2L2m1U1A3m0L/Screen%20Shot%202018-03-15%20at%206.21.04%20AM.png
Installation
============::
$ pipenv install white
✨🍰✨