init stacks

This commit is contained in:
tan-docker
2026-03-21 14:12:55 +01:00
commit d3e8da2e25
1919 changed files with 200787 additions and 0 deletions
@@ -0,0 +1,14 @@
import yaml
from pathlib import Path
RULES_FILE = Path(__file__).parent / "rules.yaml"
def load_rules():
if not RULES_FILE.exists():
return []
with RULES_FILE.open("r") as f:
data = yaml.safe_load(f) or {}
return data.get("rules", [])