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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for white-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f76235a8d95f5093b0364c0c60d36ff614c62d89bdaa73e452f96d49e6e2e82e
MD5 98302872ce57ebce37fa0fcd0428a0d7
BLAKE2b-256 2d1cea47d92f8afd9a3e69a735de2026c9a0dc64ddc3cab52954a227116825d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for white-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 023066b4d2127e7da6ae58aa017bcdfa136bfb07706e653e9987be229ef9a253
MD5 35d22d72a778e69c28a3cdb9e1578b42
BLAKE2b-256 94ef1256edfe2b677b29562bbd47e6f11144acc3a7ab327d294c0a721422926d

See more details on using hashes here.

Supported by

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