98
GitHub - kennethreitz/white: The Black code formatter, but brighter (PEP8–inspir...
source link: https://github.com/kennethreitz/white
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.rst
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 white does. It invokes $ black --line-length 79
on your behalf.
Usage
$ white myapp.py reformatted myapp.py
Installation
$ pipenv install white ✨?✨
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK