Skip to main content

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
✨🍰✨

Release files for white 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for white 0.1.2
File Size Uploaded
white-0.1.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for white 0.1.2
File Interpreter ABI Platform
white-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 6.9 kB

Release files / white-0.1.2.tar.gz

Download URL white-0.1.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45e2c7f54de1facc60bf0a726b480cdc43422aad57c3a0bc5ba54cb536696683
BLAKE2b-256 checksum
How to use checksums
bc821cb668062ceb3052d67765c2453abc35873684dccbd78b59d443041ee6af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / white-0.1.2-py2.py3-none-any.whl

Download URL white-0.1.2-py2.py3-none-any.whl
Size 4.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bca98066256cfff6fb85ec36b95cc5913c888c170a8407c340786972b06c6f8f
BLAKE2b-256 checksum
How to use checksums
c22b2c1bdcab9cd2d40dcf148df119e9efc7b11a152440dec0e3fddd54af45c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page