mafw.devtools.toolchain.default_registry

Default tool registry factory.

This module provides the get_default_registry() function, which creates a ToolRegistry pre-populated with all concrete ToolChainTool implementations in their canonical registration order.

CLI commands use this factory to obtain the registry of all managed tools without hardcoding individual tool references.

Functions

get_default_registry()

Create a ToolRegistry populated with all managed tools.

mafw.devtools.toolchain.default_registry.get_default_registry() ToolRegistry[source]

Create a ToolRegistry populated with all managed tools.

The tools are registered in the canonical order: host tools first (hatch, uv), followed by project tools (pytest, mypy, sphinx, ruff, pyupgrade, pre-commit, git-cliff, pip-audit).

Returns:

A fully-populated registry ready for use by CLI commands.

Return type:

toolchain.ToolRegistry