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.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

white-0.0.2-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for white-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d5f52fa8143f440ab792d09d8a179b7a1779c27e982e8ab8e335ac81699fcd04
MD5 c7232d0012fc394bda2a4bb868a424b0
BLAKE2b-256 e469ba8e22c1191176243cefe452da92cfd9574ba82eb7145878b75dc5e9beb1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for white-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b3850a6737f5ce231564ece002f4f5e0c15b5377364a904b7830d8d45300934c
MD5 73ac213ffd16bec5f5db39e3e36378a1
BLAKE2b-256 c5e440fa8b4cdc35bfde89e97708c19d98c84dd883fcf26c5aa1adb16af42be7

See more details on using hashes here.

Provenance

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