mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
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>
27 lines
689 B
Python
27 lines
689 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT: Path = Path(__file__).resolve().parents[3]
|
|
|
|
from . import __main__ as _main # noqa: E402
|
|
|
|
build_mappings = _main.build_mappings
|
|
output_graph = _main.output_graph
|
|
|
|
def find_roles(*args, **kwargs):
|
|
return _main.find_roles(*args, **kwargs)
|
|
|
|
def process_role(*args, **kwargs):
|
|
_main.build_mappings = build_mappings
|
|
_main.output_graph = output_graph
|
|
return _main.process_role(*args, **kwargs)
|
|
|
|
def main(*args, **kwargs):
|
|
_main.build_mappings = build_mappings
|
|
_main.output_graph = output_graph
|
|
return _main.main(*args, **kwargs)
|
|
|
|
def __getattr__(name: str):
|
|
return getattr(_main, name)
|