Tag: pre-commit
There's no excuse not to be Prettier (or for bad spelling)
February 3, 2022 · 3 min read
There's no body shaming here but as a big proponent of code formatters and pre-commit hooks, I was a little shocked by the extent of the makeover Prettier gave my code (and I learned how to spell "curiosity")
Adventures with pre-commit
September 30, 2020 · 6 min read
I started using the pre-commit framework a while back on my projects but only with a very basic setup on pretty simple codebases. Common uses are apply code formatters like black or to run static type checking with mypy. I tried to create a rough framework for my Python projects.