Black: Create PEP 8-style document with the intended formatting style explicitly described

Created on 21 Mar 2018  路  7Comments  路  Source: psf/black

This will help users identify whether what they see is a bug or a feature.

A document like this also helps with giving reasons for specific behavior.

documentation good first issue stable

Most helpful comment

@ambv If I understand correctly, this has already been superseded by "The Black Code Style", yes?

All 7 comments

@ambv Using Black and loving it, are you planning on using Sphinx or something else? Happy to help get things started if Sphinx.

Yes, Sphinx and RTFD would be my first choice :-)

@ambv Can you link to an example of the pep8 style doc that you were thinking? The pep itself or something else. Thanks.

PEP 8 itself is good but wordy. Google Style Guide is also good.

@ambv @carljm Giving some thought to this. In some cases, Original and After Black will be helpful to illustrate what will happen. Initially, I'm starting with something similar to:

My current thinking is that Original/After Black examples will cut down on wordiness in PEP8.

Side by side code displays could be cool too.

@ambv If I understand correctly, this has already been superseded by "The Black Code Style", yes?

The Black code style appears to b quite complete. Are there things missing?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bofm picture bofm  路  72Comments

sfermigier picture sfermigier  路  43Comments

dusty-phillips picture dusty-phillips  路  21Comments

dgingrich picture dgingrich  路  36Comments

jonadaly picture jonadaly  路  23Comments