12 lines
347 B
Python
12 lines
347 B
Python
"""Current delivery exclusions, independent of immutable source/material history."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import json
|
|
from pathlib import Path
|
|
|
|
|
|
def exclusion_for(source_path: str) -> dict | None:
|
|
scope = json.loads(Path(__file__).with_suffix(".json").read_text(encoding="utf-8"))
|
|
return scope["excluded"].get(source_path)
|