Skip to content

EliRibble/pre-commit-change-id

Repository files navigation

This repository contains a small hook for pre-commit for creating a Gerrit-compatible Change-Id tag in git commit messages.

Hacking

You'll want to install the developer dependencies:

pip install -e .[develop]

This will include nose2, which is the test runner of choice. After you make modifications you can run tests with

nose2

When you're satisfied you'll want to update the version number and do build-and-upload:

python setup.py sdist bdist_wheel
twine upload dist/* --verbose

About

pre-commit hook for adding a gerrit Change-Id tag

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages