Git hooks for Python projects