How to Automate Python Code Formatting (using Black, YAPF and isort) #Python #Formatting

preview_player
Показать описание
We discuss Python protocol and look at some tools to help you automate your code formatting.

00:00 Discussion: Why do we need Python Protocol
5:12 Formatting automation tools

Links to PEP documentation:

Code Formatters:

#Software #Engineering #Coding #Tutorial
Рекомендации по теме
Комментарии
Автор

Great video! This will make my Python code look great. Cheers!

xorengames
Автор

Can I make VS format the .py file with the Format Document command?

haskell
Автор

I used 'python -m yapf path\to\file.py' but it shows:
yapf: Input filenames did not match any python files

Ashish