Files
git-hooks/hooks/updates/notes/creation.py
Joel Brobecker a075b1653e reformat all the code using black
Change-Id: Idbc70777233ab2d40ab59765abb9cbbeeb88ec63
2021-04-18 14:59:01 +04:00

13 lines
381 B
Python

"""Handling of Git Notes creation."""
from updates.notes.update import NotesUpdate
class NotesCreation(NotesUpdate):
"""Update object for Git Notes creation."""
# Notes creation is a special case of Notes Update, where the
# old_rev is the null revision. The NotesUpdate class currently
# handles everything correctly for us, so no extra code needed.
pass