Files
computer-playbook/cli/console/constants.py
T
kevinveenbirkenbachandClaude Opus 5 5137465c6f style: delete every comment the comments-valid policy rejects
3529 invalid comments in 528 files, grandfathered in while the linter
only saw the working-tree diff. Removal ran through the linter's own
collectors, so detection and deletion cannot drift: a comment whose
opener line is blank before it and whose closer line is blank after it
loses all its lines, anything else loses only the comment region, and a
line left holding a bare delimiter goes with it.

Five files keep their comments behind a nocheck marker instead. Four are
upstream configs whose inline docs are upstream's own (mautrix, systemd
journald, nextcloud-oidc-login, MediaWiki). In littlejs the
commented-out entries ARE the deactivation mechanism for an example
tile, so deleting them would delete configuration.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 03:22:02 +02:00

23 lines
828 B
Python

from __future__ import annotations
from pathlib import Path
WEB_URL = "https://infinito.nexus"
DOCS_URL = "https://docs.infinito.nexus"
LICENSE_NAME = "Infinito.Nexus Community License (Non-Commercial)"
LICENSE_URL = "https://s.infinito.nexus/license"
AUTHOR = "Kevin Veen-Birkenbach"
AUTHOR_URL = "https://cybermaster.space"
EXIT_TOKENS = frozenset({"exit", "quit", ":q"})
STRIPPABLE_PREFIXES = ("cli",)
ROOT_NAV_TOKEN = "infinito" # noqa: S105 not a credential; REPL keyword
LS_TOKEN = "ls" # noqa: S105 not a credential; REPL keyword
LS_DESC_LIMIT = 30
HELP_ALIASES = frozenset({"help", "?", "h"})
PROMPT_PREFIX = "🖥️ "
# nocheck: project-root-import not a project-root walk; resolves cli/ for category dispatch
CLI_ROOT = Path(__file__).resolve().parents[1]
RESERVED_DIRS = frozenset({"core", "__pycache__"})