logo


black


<p>Odds are that you'll have lots of discussions on code style with your colleagues. Instead of argueing it may be a better idea to just have a standard that automatically formats all of your code. In this scenarios you may want to use <a href="https://github.com/psf/black">black</a>.</p>


1 - Introduction
2 - Usage
3 - Functions
4 - Config Barely
5 - Hooks

This may be a good time to install black.

python -m pip install black

Here is a copy of the code.py file;

list_of_numbers = [
    1,
    2,
    3
]

large_dictionary = {1:2, 3:4, 5:6, 7:8, 9:10, 11:12, 13:14, 15:16, 17:18, 19:20, 21:22, 23:24}