Files
computer-playbook/utils/env/handlers/infinito/fork/account.py
kevinveenbirkenbachandClaude Opus 4.8 84fc309699 fix(lint): resolve make quality lint-test failures
Surfaced by make quality: alias comments on i8matiso/i8mativaso/i8s; self-path nocheck + drop two narration comments in load.sh (venv note kept in the header); shorten the host deploy job name to <=80 chars; move the legend rationale from an inline comment into the docstring. Also move utils/env/handlers/infinito/fork_{account,repository_url}.py into a fork/ subfolder (shared-prefix rule) and update the handler imports.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 03:44:17 +02:00

21 lines
569 B
Python

"""INFINITO_FORK_ACCOUNT: GitHub account holding the operator's fork,
defaulting to the local OS username."""
from __future__ import annotations
import getpass
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from utils.env.builder import BuildContext, EnvBuilder
KEY = "INFINITO_FORK_ACCOUNT"
COMMENT = (
"GitHub account holding the operator's fork; defaults to the local OS "
"username. Composed into INFINITO_FORK_REPOSITORY_URL."
)
def apply(eb: EnvBuilder, ctx: BuildContext) -> None:
eb.setdefault(KEY, getpass.getuser(), comment=COMMENT)