mafw.devtools.toolchain.tools.hatch

Hatch host tool implementation.

This module provides the HatchTool concrete implementation of HostTool for managing hatch as a host tool installed via pipx.

Hatch is the build backend and project management tool used by MAFw. As a host tool, it lives outside the project’s virtual environments and is managed through pipx commands. All operational logic (bootstrap, version detection, upgrade, verification) is inherited from HostTool.

Classes

HatchTool()

Manage hatch as a host tool installed via pipx.

class mafw.devtools.toolchain.tools.hatch.HatchTool[source]

Bases: HostTool

Manage hatch as a host tool installed via pipx.

This tool handles bootstrapping (installing hatch via pipx), detecting the currently installed version from pipx metadata, querying PyPI for the latest release, and upgrading via pipx upgrade.

Since hatch is a host-level tool that does not modify repository files, the verify() method always returns an empty list.

All method implementations are inherited from HostTool.

property pipx_package_name: str

The pipx package name for hatch.