Skip to content

fontlab_instamix.vcs · declarations 001

Back to fontlab_instamix.vcs

DEFAULT module-attribute

DEFAULT

GIT_TIMEOUT module-attribute

GIT_TIMEOUT

fallback

fallback(pyproject: dict) -> str | None

The configured hatch-vcs fallback version, if any.

git_describe

git_describe(root: Path, runner: Callable = run) -> str | None

Version from the newest vX.Y.Z tag, as the legacy installer computed it.

pkg_info

pkg_info(root: Path) -> str | None

Version in an sdist's PKG-INFO, if present.

project_version

project_version(root: Path, pyproject: dict, runner: Callable = run) -> str

Return the version to record for the checkout at root.

version_file

version_file(root: Path, pyproject: dict) -> str | None

Version written by the hatch-vcs build hook, if the file exists.