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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for white-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a39d719068912ff575c8d5a67eb5b4826a0b5798882a39d9b5d0e2708238bf60
MD5 91fb953c903fa2aeab27892e85244a7c
BLAKE2b-256 50a968357fa68d5591f4c46b4286153da737f8cb0908b2f44d859fc782cd9e9c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for white-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d4d4190d7c6300eeed6afff197c9c31022981ad29c5251d7992ab143c54cf297
MD5 1852c741acc678bdf41f7e9dcbc0130d
BLAKE2b-256 ef9eadfb8710f4b041631a25012edd532449961404043a0400306e61d9c5da2e

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