How Cpython repository has a pre-commit hook ? (as in PEP8)
Hello, I'm not a Python contributor but I have a question which (I believe) can be answered here, so I've subscribed. The question is at stackoverflow: https://stackoverflow.com/questions/64912716/are-pre-commit-hooks-clonable After some research the only thing similtar to a git pre-commit hook I could find on the cpython repo was the patchcheck.py script on github.com/python/cpython/tree/master/Tools/scripts (patchcheck.py), which runs in Travis. Is this the pre-commit hook PEP8 talks about ? Thanks for your help and attention. -- *Nilo César Teixeira* nilo.teixeira@gmail.com (55) (11) 98571-5314
On Thu, Nov 19, 2020 at 10:47 AM Nilo César Teixeira < nilo.teixeira@gmail.com> wrote:
Hello,
I'm not a Python contributor but I have a question which (I believe) can be answered here, so I've subscribed.
The question is at stackoverflow: https://stackoverflow.com/questions/64912716/are-pre-commit-hooks-clonable
After some research the only thing similtar to a git pre-commit hook I could find on the cpython repo was the patchcheck.py script on github.com/python/cpython/tree/master/Tools/scripts (patchcheck.py), which runs in Travis.
Is this the pre-commit hook PEP8 talks about ?
Yep, that's it. -Brett
Thanks for your help and attention.
-- *Nilo César Teixeira* nilo.teixeira@gmail.com (55) (11) 98571-5314 _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/DKLD2VLH... Code of Conduct: http://python.org/psf/codeofconduct/
participants (2)
-
Brett Cannon
-
Nilo César Teixeira