An open API service indexing awesome lists of open source software.

https://github.com/huangsam/githooks

Git hooks for Python projects
https://github.com/huangsam/githooks

curl git-hooks python

Last synced: 6 months ago
JSON representation

Git hooks for Python projects

Awesome Lists containing this project

README

          

# Git hooks for Python

[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/huangsam/githooks/ci.yml)](https://github.com/huangsam/githooks/actions)
[![License](https://img.shields.io/github/license/huangsam/githooks)](https://github.com/huangsam/githooks/blob/main/LICENSE)

These hooks started out as a collection of policies that I enforced for Python
projects at [Cisco](https://www.cisco.com/). Many of them execute the
same verification tasks. As such, functionality is centralized into `githooks`
package for reusability.

## Development

These Git hooks utilize all Python for consistency.

## Installation

```bash
curl -fssL huangsam.github.io/githooks/gh-install | bash
```

After installation is complete all scripts and commit message template will
be available in your `.git/hooks` directory.