vcheck.check_raise¶
-
vcheck.check_raise(mod, hexsha=None, version=None, verbose=None)[source]¶ Raises an error if a given Python module does not match a particular git sha1 signature or version.
This function is most useful accompanying an
import. After importing, a version check can quickly raise an error if the module code does not match or if there are difficulties checking the version.Parameters: mod : module
An object which is a Python module.
hexsha : str
A git sha1 signature indicating a particular commit.
version : str
A string indicating a particular git tag.