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.1.tar.gz (2.9 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.1.1-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for white-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9573409da1c48f5dad9109a4f682af0d0be3e223308675392cf00b7755e8f490
MD5 b7e517a6579893a4ad4a9bf5c727e46f
BLAKE2b-256 529f6b848f7f7326bb7b3b55c8d5a1549f233a155a0086f25ab0d24bdc2e8545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for white-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 60e838ea6291fd1e6c8675368304cf4a832a0bee09fb6808a00aa13ca26d000e
MD5 e9f0fb7f8af71ed3a814de3c6a9f1268
BLAKE2b-256 3f2456e0e1ea1d9d902459a905b18d5268b1870c01289fd380042fc5267116ca

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