Why I Don't Care About Code Formatting In Python | Black Tutorial

In this tutorial I explain why I don't care about code formatting while writing Python code. Instead of wasting time to determine the best format myself, I use a tool called "black" that is doing the code formatting for me.

Black Repo: https://github.com/psf/black


Black is the uncompromising Python code formatter. By using it, you agree to cede control over details 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.

FREE VS Code / PyCharm Extensions I Use

🪁 Code faster with Kite, AI-powered autocomplete: Link *

✅ Write cleaner code with Sourcery, instant refactoring suggestions: Link *

* These are affiliate links. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you! 🙏

Check out my Courses