()
return VERSION_RE.search(init).group(1)
Reads the version from this module.
Reads the version from this module.
Reads the version from this module .
def get_version() -> str:
    """Reads the version from this module."""
    init = read("ggshield", "__init__.py")
    return VERSION_RE.search(init).group(1)
def get_version ( ) -> str : init = read ( "ggshield" , "__init__.py" ) return VERSION_RE . search ( init ) . group ( 1 )