Skip to main content

About pre-commit hooks

If you version your Studio projects with Git, you can use the Git pre-commit hook and the Python formatter in this appendix to make your projects much easier to review. For more about Git hooks, see the Git documentation.

Without the formatter, this what the reviewer will see:

withOUT_the_Python_formatter.png

With the formatter, things are much easier for the reviewer:

WITH_the_Python_formatter_1.png
WITH_the_Python_formatter_2.png

Easier reviews mean the following:

  • Faster development cycles

  • Early identification of issues

  • Better-quality code

  • Fewer human errors