Python Tricks | Standard Code Formatter for Python | black Library

Опубликовано: 12 Январь 2023
на канале: Python Developer - 0.1
115
3

The Uncompromising Code Formatter

Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting.In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting.

You will save time and mental energy for more important matters.

Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead.

Black makes code review faster by producing the smallest diffs possible.

Installation and usage

Black can be installed by running pip install black.

Usage

black {source_file_or_directory}
black { . }


На этой странице сайта вы можете посмотреть видео онлайн Python Tricks | Standard Code Formatter for Python | black Library длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Developer - 0.1 12 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 115 раз и оно понравилось 3 зрителям. Приятного просмотра!