def METHOD_NAME(cls, status: "DataStatus") -> int:  # noqa: C901
    git_info = status.pop("git")  # type: ignore[misc]
    result = dict(cls._process_status(status))
    if not result:
        no_changes = "No changes"
        if git_info.get("is_empty", False):
            no_changes += " in an empty git repo"
        ui.write(f"{no_changes}.")
    for idx, (stage, stage_status) in enumerate(result.items()):
        if idx:
            ui.write()
        label = cls.LABELS.get(stage, stage.capitalize() + " files")
        header = f"{label}:"
        color = cls.COLORS.get(stage, None)
        ui.write(header)
        if hints := cls.HINTS.get(stage):
            for hint in hints:
                ui.write(f"  ({hint})")
        if isinstance(stage_status, dict):
            items = [f"{state}: {file}" for file, state in stage_status.items()]
        else:
            items = stage_status
        tabs = "\t".expandtabs(8)
        for chunk in chunks(1000, items):
            out = "\n".join(tabs + item for item in chunk)
            ui.write(colorize(out, color))
    if (hints := cls.HINTS.get("git_dirty")) and git_info.get("is_dirty"):
        for hint in hints:
            message = hint.format("other " if result else "")
            ui.write(f"[blue]({message})[/]", styled=True)
    return 0