vcheck.check_warn

vcheck.check_warn(mod, hexsha=None, version=None)[source]

Warns 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 a warning 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.