Monitor performance issues & errors in your code

pre-commit framework

Episode #282, published Thu, Sep 17, 2020, recorded Tue, Jul 21, 2020

Git hook scripts are useful for identifying simple issues before committing your code. Hooks run on every commit to automatically point out issues in code such as trailing whitespace and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks.

As we created more libraries and projects we recognized that sharing our pre-commit hooks across projects is painful. That's why I'm happy to welcome Anthony Sottile to the show to discuss pre-commit, a framework for managing and maintaining multi-language pre-commit hooks.
Links from the show

Anthony at Twitter: @codewithanthony
pre-commit continuous integration:
pre-commit hooks:
pre-commit on GitHub:
shhgit secret discovery project:
babi editor:
Twitch stream:

Anthony on GitHub:
Episode transcripts:

--- Stay in touch with us ---
Subscribe to us on YouTube:
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon