
#404: Clean Code in Python
Talk Python To Me
00:00
Using a Pre-Commit Tool to Fix Black Out of Formatting
A pre-commit tool is just awesome. It's a tool that runs before you try to make a commit, right? So it's a great enforcer locally to not commit any code that's not formatted or that has style violations in it. And then there's also flake8, for example, has a lot of plugins we might go into next. But I first want to highlight, like you want to automate as much as possible. This is really a no-brainer in the times we live.
Transcript
Play full episode