mirror of
https://github.com/kennethreitz-archive/white.git
synced 2026-06-05 15:10:17 +00:00
1790cf4b2f3beebcf72f92d7a289f3777d607729
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
White: Black, but White instead (PEP8–inspired) =============================================== `Black <https://github.com/ambv/black>`_ is an amazing tool for auto–formatting Python code in a style that I prefer. I use it in all my projects. It is configurable, however, to change it's default line–length of ``88`` charecters 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 .. image:: http://share.kennethreitz.org/2L2m1U1A3m0L/Screen%20Shot%202018-03-15%20at%206.21.04%20AM.png Installation ============ :: $ pipenv install white ✨🍰✨
Languages
Python
100%