__init__.py
file-level
1
files
1
commits
0
hotspots
0
🧊 dead
0
💥 blast risk
| 1 | """Governance gates reminder package (§KH1.9).""" |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | __all__ = ["GateScanResult", "PendingGate", "scan_governance_gates"] |
| 6 | |
| 7 | |
| 8 | def __getattr__(name: str): |
| 9 | if name == "scan_governance_gates": |
| 10 | from tools.governance_gates.scan import scan_governance_gates |
| 11 | |
| 12 | return scan_governance_gates |
| 13 | if name in {"GateScanResult", "PendingGate"}: |
| 14 | from tools.governance_gates import types as _types |
| 15 | |
| 16 | return getattr(_types, name) |
| 17 | raise AttributeError(f"module {__name__!r} has no attribute {name!r}") |