Skip to main content

Black, but White instead (PEP8 line–lengths).

Project description

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 this tool does. It invokes $ black --line-length 79 on your behalf.

Usage

$ white myapp.py
reformatted myapp.py
http://share.kennethreitz.org/2L2m1U1A3m0L/Screen%20Shot%202018-03-15%20at%206.21.04%20AM.png

Installation

$ pipenv install white
✨🍰✨

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

white-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

white-0.1.2-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file white-0.1.2.tar.gz.

File metadata

  • Download URL: white-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for white-0.1.2.tar.gz
Algorithm Hash digest
SHA256 45e2c7f54de1facc60bf0a726b480cdc43422aad57c3a0bc5ba54cb536696683
MD5 daa1ac25a653c836821ec2f85f261d58
BLAKE2b-256 bc821cb668062ceb3052d67765c2453abc35873684dccbd78b59d443041ee6af

See more details on using hashes here.

File details

Details for the file white-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for white-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bca98066256cfff6fb85ec36b95cc5913c888c170a8407c340786972b06c6f8f
MD5 c94ed5eb15b865ad16c2a2b66f2e8a08
BLAKE2b-256 c22b2c1bdcab9cd2d40dcf148df119e9efc7b11a152440dec0e3fddd54af45c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page