stubber.utils.makeversionhdr ============================ .. py:module:: stubber.utils.makeversionhdr .. autoapi-nested-parse:: Code from micropyton project and adapted to use the same versioning scheme Functions --------- .. autoapisummary:: stubber.utils.makeversionhdr.get_version_info_from_git Module Contents --------------- .. py:function:: get_version_info_from_git(path: Optional[pathlib.Path] = None) -> Tuple[Union[str, None], Union[str, None]] return the version info from the git repository specified. returns: a 2-tuple containing git_tag, short_hash