Showing content from http://mail.python.org/pipermail/python-dev/attachments/20180223/db2e0696/attachment.html below:
<br><br>On Friday, February 23, 2018, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23 February 2018 at 03:09, Eric Snow <<a href="mailto:ericsnowcurrently@gmail.com">ericsnowcurrently@gmail.com</a>> wrote:<br>
> So, coupled with slow CI, linting failures were<br>
> particularly onerous. We all got in the habit of locally running the<br>
> linter frequently. IIRC, I even set up VIM to run the linter whenever<br>
> I saved.<br>
<br>
For reindent.py, we used to have instructions for setting that up as a<br>
local pre-commit hook in Mercurial. It may make sense to create<br>
similar instructions for git (if we don't already have those<br>
somewhere).</blockquote><div><br></div><div>A pre-commit hook with flake8, clang-format, and the requisite CPython style configs would be great.</div><div><br></div><div><a href="https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks">https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks</a><br></div><div><br></div><div>Batch and ad-hoc CLN commits to cleanup for style really muddle the git blame history.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Nick.<br>
<br>
--<br>
Nick Coghlan  |  <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>  |  Brisbane, Australia<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/wes.turner%40gmail.com" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>wes.turner%40gmail.com</a><br>
</blockquote>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4