Allow hacking to be used as a pre-commit hook
Allow hacking to be used as a pre-commit hook

This allows hacking to be used the same way flake8 is used as
a pre-commit hook. This allows repository owners to control bumping
using `pre-commit auto-update` when they feel appropriate.

Change-Id: Id00b79ff3006c390f925dcc5031ac503374cf9bd
Needed-By: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/783828

openstack-dev/hacking,openstack-dev/hacking