Skip to main content

Grey: Black, but brighter, but not as bright as White (arbitrarily–inspired)

Black is an amazing tool for auto–formatting Python code in a style that I don’t really care about, but I like consistency, so I use it in all my projects.

It has one configuration option — to change its default line–length of 88 chars to, say, 120, like I like.


That is exactly what grey does. It invokes $ black --line-length 120 on your behalf.

Usage

$ grey myapp.py
reformatted myapp.py

Installation

$ pipenv install white
✨🍰✨

Metadata

Release files for grey 0.0.1

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

Source distribution (sdist)

Source distribution for grey 0.0.1
File Size Uploaded
grey-0.0.1.tar.gz 3.0 kB Details

Built distribution (wheel)

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

Total release size: 5.3 kB

Release files / grey-0.0.1.tar.gz

Download URL grey-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c07dd7c27ec2159ef42c0637eaa4b453083f0eba6bfb6dd1d564a31f978079da
BLAKE2b-256 checksum
How to use checksums
6f0896e4b606a94358ebe74522ff1e98a8e89dda5f9e0f3403c4bcca2c590e14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grey-0.0.1-py2.py3-none-any.whl

Download URL grey-0.0.1-py2.py3-none-any.whl
Size 2.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5cc402abd80c6d639fe89f5771fff69cc480042c8dde6e2a8b887120e5480f25
BLAKE2b-256 checksum
How to use checksums
0dc0eda953436e1fb41fad7aa6d2d527f7ac75e746c46a59ea4c3970118a8c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

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