Python - Black - The uncompromising code formatter.

preview_player
Показать описание
I discovered this module while watching the #PyCon2019 videos, and I think it's a must have in every developers life. It allows you to give your code a decent formatting that could be unified across all developers so everyone can understand the code more easily.

Рекомендации по теме
Комментарии
Автор

hi do you know, how to run black for all python files in a directory like the prettier

himanshuaswal
Автор

When I try to run black (black test.py) my terminal just crashes. Any idea why?

uxkkvpm
Автор

Hello, do you know how to change the default line length of the formatter (88 is default)?
I am using Visual Studio Code but can not find a way to change it.

sevdalink