#!/usr/bin/env python3

import sys

commit_msg_filepath = sys.argv[1]

with open(commit_msg_filepath, 'r+') as fh:
    lines = fh.readlines()

    if '#' not in lines[0]:
        print("No issue number in first line of commit message. Stopping.")
        sys.exit(1)