#282 pre-commit framework
Play • 1 hr
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: pre-commit.com
pre-commit continuous integration: pre-commit.ci
pre-commit hooks: pre-commit.com/hooks.html
pre-commit on GitHub: github.com
shhgit secret discovery project: github.com
babi editor: github.com
Twitch stream: twitch.tv

Anthony on GitHub: github.com

Sponsors

Talk Python Training
Linode
More episodes
Search
Clear search
Close search
Google apps
Main menu