Thursday, September 17, 2020

Talk Python to Me: #282 pre-commit framework

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. <br/> <br/> 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.<br/> <br/> <strong>Links from the show</strong><br/> <br/> <div><b>Anthony at Twitter</b>: <a href="https://twitter.com/codewithanthony" target="_blank" rel="noopener">@codewithanthony</a><br/> <b>pre-commit</b>: <a href="https://pre-commit.com/" target="_blank" rel="noopener">pre-commit.com</a><br/> <b>pre-commit continuous integration</b>: <a href="https://pre-commit.ci/" target="_blank" rel="noopener">pre-commit.ci</a><br/> <b>pre-commit hooks</b>: <a href="https://ift.tt/2vUFPtv" target="_blank" rel="noopener">pre-commit.com/hooks.html</a><br/> <b>pre-commit on GitHub</b>: <a href="https://ift.tt/1zGtfH1" target="_blank" rel="noopener">github.com</a><br/> <b>shhgit secret discovery project</b>: <a href="https://ift.tt/34wgaHY" target="_blank" rel="noopener">github.com</a><br/> <b>babi editor</b>: <a href="https://ift.tt/2BrfUfZ" target="_blank" rel="noopener">github.com</a><br/> <b>Twitch stream</b>: <a href="https://ift.tt/2EfxYyO" target="_blank" rel="noopener">twitch.tv</a><br/> <br/> <b>Anthony on GitHub</b>: <a href="https://ift.tt/1xH26ZT" target="_blank" rel="noopener">github.com</a><br/></div><br/> <strong>Sponsors</strong><br/> <br/> <a href='https://ift.tt/2PVc9qH Python Training</a><br> <a href='https://ift.tt/34qNZMT>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...