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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for white-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18dfb68fa7d1b7c6c6efd02d640c66ffa5360446b9bc00e4fa25a475f2fdc810
MD5 73341e5ef0a98d22601b1a931b692e77
BLAKE2b-256 3f522d4a8d34cc2ae75a674499d227518946994a0ba9f87d63ed4cd0e7ab9d26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for white-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 60bb4ee4916619841ca8b8a6e63f5b0a3257d11cd118428625b07febcbb971c4
MD5 cdd47e961dc811668a5a0acdb893525f
BLAKE2b-256 207bd6cd9fe650ee19b5b86cc9a35aa512da46abb6a455b84b00641871c6a2ec

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